dungdm93 opened a new pull request #28075: fix bash comparison error in Docker entrypoint.sh URL: https://github.com/apache/spark/pull/28075 ### What changes were proposed in this pull request? A small change to fix an error in Docker `entrypoint.sh` ### Why are the changes needed? When spark running on Kubernetes, I got the following logs: ```log + '[' -n ']' + '[' -z ']' ++ /bin/hadoop classpath /opt/entrypoint.sh: line 62: /bin/hadoop: No such file or directory + export SPARK_DIST_CLASSPATH= + SPARK_DIST_CLASSPATH= ``` This is because you are missing some quotes on bash comparisons. ### Does this PR introduce any user-facing change? No ## How was this patch tested? CI
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
