spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tgravescs <>
Subject [GitHub] spark pull request: [SPARK-3090] Avoid not stopping SparkContext w...
Date Thu, 06 Nov 2014 20:32:46 GMT
Github user tgravescs commented on the pull request:
    So the yarnClientSchedulerBackend already has an asyncMonitor to check is the yarn side
got shutdown and if it does it does an sc.stop.  If the yarn client mode driver side is shutdown
badly such that that code isn't run, then I could argue that Spark common code should handle
something like this.  It would be no different from running in spark standalone mode and having
the driver go down.  If you are in a shutdown hook inside of YarnClientClusterScheduler then
the driver is obviously already shutting down so what would calling sc.stop at that point
really mean?
    Are you actually seeing a case where the spark driver isn't shutdown (sc.stop) in yarn
client mode?  If so what are the conditions?

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 or file a JIRA ticket
with INFRA.

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

View raw message