You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2014/09/05 07:36:24 UTC
[jira] [Commented] (SPARK-3410) The priority of shutdownhook for
ApplicationMaster should not be integer literal, rather than refer
constant.
[ https://issues.apache.org/jira/browse/SPARK-3410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14122465#comment-14122465 ]
Apache Spark commented on SPARK-3410:
-------------------------------------
User 'sarutak' has created a pull request for this issue:
https://github.com/apache/spark/pull/2283
> The priority of shutdownhook for ApplicationMaster should not be integer literal, rather than refer constant.
> -------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-3410
> URL: https://issues.apache.org/jira/browse/SPARK-3410
> Project: Spark
> Issue Type: Improvement
> Components: YARN
> Affects Versions: 1.1.0
> Reporter: Kousuke Saruta
> Priority: Minor
>
> In ApplicationMaster, the priority of shutdown hook is set to 30, which expects higher than the priority of o.a.h.FileSystem.
> In FileSystem, the priority of shutdown hook is expressed as public constant named "SHUTDOWN_HOOK_PRIORITY" so I think it's better to use this constant for the priority of ApplicationMaster's shutdown hook.
--
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