We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在运行单机版时,运行start_server.sh join之后,显示success,但是后台进程并未成功.建议如下,添加2行,而不是只是检测nohup的返回值是否为0来判断.感谢!
可将
nohup python $CURRENT_DIR/data_join/data_join_server.py $REMOTE_IP $INDEX \ $PARTITION_ID $DATA_SOURCE_NAME $DATA_BLOCK_DIR $RAW_DATA_DIR $ROLE -m=$MODE \ -p=$PORT0 --raw_data_iter=$RAW_DATA_ITER --compressed_type=$COMPRESSED_TYPE \ --example_joiner=$EXAMPLE_JOINER $EAGER_MODE >>"${data_join_log_dir}/console_${ROLE}.log" \ 2>>"${data_join_log_dir}/error_${ROLE}.log" & ans=`ps -ef|grep data_join_server|grep ${ROLE}` # 可简单通过查询进程是否启动 if [[ -n "${ans}" ]]; then # nohup启动正常,且原代码直接将错误输出流输入到文件,看该文件可解决问题,但是用户体检上,还是应该报错的. echo "data join service start successfully" echo "log dir: ${data_join_log_dir}" echo "input dir: ${RAW_DATA_DIR}" echo "output dir: ${DATA_BLOCK_DIR}" else echo "data join service start failed" fi
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在运行单机版时,运行start_server.sh join之后,显示success,但是后台进程并未成功.建议如下,添加2行,而不是只是检测nohup的返回值是否为0来判断.感谢!
可将
The text was updated successfully, but these errors were encountered: