dungdm93 opened a new pull request #30738:
URL: https://github.com/apache/spark/pull/30738


   Signed-off-by: Đặng Minh Dũng <dungd...@live.com>
   
   ### What changes were proposed in this pull request?
   In docker entrypoint.sh, spark executor should using `spark-class` instead 
of pure `java` command.
   
https://github.com/apache/spark/blob/8b97b19ffad7ec78e4b1f05cb1168ef79dc647b2/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/entrypoint.sh#L70-L102
   
   ### Why are the changes needed?
   In docker `entrypoint.sh`, spark driver using `spark-submit` command but 
spark executor using pure `java` command which don't load `spark-env.sh` in 
`$SPARK_HOME/conf` directory.
   This can lead configuration mismatch between driver and executors in the 
cases `spark-env.sh` contains something like custom envvars or pre-start hooks
   
   ### Does this PR introduce _any_ user-facing change?
   N/A
   
   
   ### How was this patch tested?
   


----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to