spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michel Lemay (JIRA)" <>
Subject [jira] [Created] (SPARK-9886) Validate usages of Runtime.getRuntime.addShutdownHook
Date Wed, 12 Aug 2015 18:01:45 GMT
Michel Lemay created SPARK-9886:

             Summary: Validate usages of Runtime.getRuntime.addShutdownHook
                 Key: SPARK-9886
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
            Reporter: Michel Lemay
            Priority: Minor

While refactoring calls to Utils.addShutdownHook to spark ShutdownHookManager in PR #8109,
I've seen instances of calls to Runtime.getRuntime.addShutdownHook:


Comment from @vanzin:
"From a quick look, it seems that at least the one in ExternalBlockStore should be changed;
the other two seem to be separate processes (i.e. they are not part of a Spark application)
so that's questionable. But I'd say leave it for a different change (maybe file a separate
bug so it doesn't fall through the cracks)."

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message