[
https://issues.apache.org/jira/browse/YARN-5809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15623793#comment-15623793
]
Hudson commented on YARN-5809:
------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10738 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/10738/])
YARN-5809. AsyncDispatcher possibly invokes multiple shutdown threads
(varunsaxena: rev 07ab89e8bb3f647cef4f80f39237169a0c6a8520)
* (edit)
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/event/AsyncDispatcher.java
> AsyncDispatcher possibly invokes multiple shutdown thread when handling
> exception
> ---------------------------------------------------------------------------------
>
> Key: YARN-5809
> URL: https://issues.apache.org/jira/browse/YARN-5809
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Jian He
> Assignee: Jian He
> Fix For: 2.9.0, 3.0.0-alpha2
>
> Attachments: YARN-5809.1.patch
>
>
> below code when handling exceptions: it is possible to launch multiple
> shutdown threads if there are events left in the queue that caused to throw
> exceptions.
> {code}
> } catch (Throwable t) {
> //TODO Maybe log the state of the queue
> LOG.fatal("Error in dispatcher thread", t);
> // If serviceStop is called, we should exit this thread gracefully.
> if (exitOnDispatchException
> && (ShutdownHookManager.get().isShutdownInProgress()) == false
> && stopped == false) {
> Thread shutDownThread = new Thread(createShutDownThread());
> shutDownThread.setName("AsyncDispatcher ShutDown handler");
> shutDownThread.start();
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]