You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/09/01 04:20:56 UTC

[GitHub] [spark] mridulm edited a comment on pull request #33869: [SPARK-36615][CORE] Register shutdown hook earlier when start SC

mridulm edited a comment on pull request #33869:
URL: https://github.com/apache/spark/pull/33869#issuecomment-909868666


   Wont this not race against the main SparkContext initialization thread ?
   IIRC shutdown hook was added last to ensure the spark context has completed initialization before it could get stopped via shutdown hook.
   
   +CC @tgravescs 


-- 
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