[ https://issues.apache.org/jira/browse/SPARK-3410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Graves resolved SPARK-3410. ---------------------------------- Resolution: Fixed Fix Version/s: 1.2.0 Assignee: Kousuke Saruta > The priority of shutdownhook for ApplicationMaster should not be integer > literal > -------------------------------------------------------------------------------- > > 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 > Assignee: Kousuke Saruta > Priority: Minor > Fix For: 1.2.0 > > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org