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 13:53:03 UTC

[GitHub] [spark] Ngone51 commented on pull request #33869: [SPARK-36615][CORE] Register shutdown hook earlier when start SC

Ngone51 commented on pull request #33869:
URL: https://github.com/apache/spark/pull/33869#issuecomment-910307280


   > I would hope its ok to call stop if it hasn't completely started up because it should just call stop on the individual components if they have been started, but we should double check that all the components handle that properly.
   
   
   I think that's ok. SparkConext can handle the interrupt stop during initialization, see:
   
   
   https://github.com/apache/spark/blob/0494dc90af48ce7da0625485a4dc6917a244d580/core/src/main/scala/org/apache/spark/SparkContext.scala#L363-L367
   


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