github-actions[bot] commented on PR #17482: URL: https://github.com/apache/doris/pull/17482#issuecomment-1457395830
#### `sh-checker report` To get the full details, please check in the [job]("https://github.com/apache/doris/actions/runs/4349933410") output. <details> <summary>shellcheck errors</summary> ``` 'shellcheck ' returned error 1 finding the following syntactical issues: ---------- In bin/start_be.sh line 100: export CLASSPATH="${DORIS_HOME}/conf/:$DORIS_CLASSPATH" ^--------------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. Did you mean: export CLASSPATH="${DORIS_HOME}/conf/:${DORIS_CLASSPATH}" In bin/start_be.sh line 262: export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/$jvm_arch/server:$JAVA_HOME/jre/lib/$jvm_arch:$LD_LIBRARY_PATH ^--------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. ^-------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. ^--------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. ^-------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. ^--------------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. Did you mean: export LD_LIBRARY_PATH=${JAVA_HOME}/jre/lib/${jvm_arch}/server:${JAVA_HOME}/jre/lib/${jvm_arch}:${LD_LIBRARY_PATH} In bin/start_be.sh line 263: export LD_LIBRARY_PATH=$DORIS_HOME/lib/hadoop_hdfs/native:$LD_LIBRARY_PATH ^---------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. ^--------------^ SC2250 (style): Prefer putting braces around variable references even when not strictly required. Did you mean: export LD_LIBRARY_PATH=${DORIS_HOME}/lib/hadoop_hdfs/native:${LD_LIBRARY_PATH} In bin/start_be.sh line 264: export LIBHDFS_OPTS="${JAVA_OPTS}" ^----------^ SC2154 (warning): JAVA_OPTS is referenced but not assigned. In bin/start_be.sh line 269: echo "CLASSPATH: ${CLASSPATH}\n" ^-------------------------^ SC2028 (info): echo may not expand escape sequences. Use printf. In bin/start_be.sh line 270: echo "LD_LIBRARY_PATH: ${LD_LIBRARY_PATH}\n" ^-- SC2028 (info): echo may not expand escape sequences. Use printf. In bin/start_be.sh line 271: echo "LIBHDFS_OPTS: ${LIBHDFS_OPTS}\n" ^-- SC2028 (info): echo may not expand escape sequences. Use printf. For more information: https://www.shellcheck.net/wiki/SC2154 -- JAVA_OPTS is referenced but not a... https://www.shellcheck.net/wiki/SC2028 -- echo may not expand escape sequen... https://www.shellcheck.net/wiki/SC2250 -- Prefer putting braces around vari... ---------- You can address the above issues in one of three ways: 1. Manually correct the issue in the offending shell script; 2. Disable specific issues by adding the comment: # shellcheck disable=NNNN above the line that contains the issue, where NNNN is the error code; 3. Add '-e NNNN' to the SHELLCHECK_OPTS setting in your .yml action file. ``` </details> <details> <summary>shfmt errors</summary> ``` 'shfmt ' found no issues. ``` </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org