You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kousuke Saruta (JIRA)" <ji...@apache.org> on 2014/09/01 07:21:20 UTC
[jira] [Commented] (SPARK-3090) Avoid not stopping SparkContext
with YARN Client mode
[ https://issues.apache.org/jira/browse/SPARK-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117036#comment-14117036 ]
Kousuke Saruta commented on SPARK-3090:
---------------------------------------
It sound good idea that SparkContext register shutdown-hook itself.
> Avoid not stopping SparkContext with YARN Client mode
> ------------------------------------------------------
>
> Key: SPARK-3090
> URL: https://issues.apache.org/jira/browse/SPARK-3090
> Project: Spark
> Issue Type: Bug
> Components: Spark Core, YARN
> Affects Versions: 1.1.0
> Reporter: Kousuke Saruta
>
> When we use YARN Cluster mode, ApplicationMaser register a shutdown hook, stopping SparkContext.
> Thanks to this, SparkContext can stop even if Application forgets to stop SparkContext itself.
> But, unfortunately, YARN Client mode doesn't have such mechanism.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org