You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "thanhdanh1803 (via GitHub)" <gi...@apache.org> on 2024/01/30 03:30:25 UTC

[PR] [SPARK-46912] Use worker JAVA_HOME and SPARK_HOME instead of from submitter [spark]

thanhdanh1803 opened a new pull request, #44943:
URL: https://github.com/apache/spark/pull/44943

   ### What changes were proposed in this pull request?
   Replace JAVA_HOME and SPARK_HOME from submitter by value of worker when building localCommand.
   
   
   ### Why are the changes needed?
   There is a problem when submit a job in cluster mode to a standalone cluster. The worker start a java job using value from submitter JAVA_HOME instead of itself.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No
   


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [SPARK-46912] Use worker JAVA_HOME and SPARK_HOME instead of from submitter [spark]

Posted by "srowen (via GitHub)" <gi...@apache.org>.
srowen commented on PR #44943:
URL: https://github.com/apache/spark/pull/44943#issuecomment-1917285722

   Hm, how does JAVA_HOME get from the 'submitter' - what do you mean, the application submitter? but the worker is already running by that point


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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