Github user felixcheung commented on the pull request:

    https://github.com/apache/spark/pull/12622#issuecomment-213795814
  
    JVM addShutdownHook is being added for a couple for things and they have 
logging, for example:
    
    
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/util/ShutdownHookManager.scala
    
https://github.com/apache/spark/blob/af1f4da76268115c5a4cc3035d3236ad27f7240a/core/src/main/scala/org/apache/spark/SparkContext.scala#L559
    But unfortunately they are not guaranteed to be called if the process is 
terminated abruptly.
    If we are concerned I think we should get a specific repro step to check if 
we have logging for that case, if possible.
        
    
      


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to