hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haibo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6204) Set UncaughtExceptionHandler for event handling thread in AsyncDispatcher
Date Thu, 30 Mar 2017 22:16:41 GMT

    [ https://issues.apache.org/jira/browse/YARN-6204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15949963#comment-15949963
] 

Haibo Chen commented on YARN-6204:
----------------------------------

Thanks [~yufeigu] for your patch! The new RMCriticialUncaughtExceptionHandler for AsyncDispatcher
improves exception handling by transitioning RM to standby if there is any exception, but
it will not improve non-HA setup because 
{code}
rmContext.getDispatcher().getEventHandler().handle(
          new RMFatalEvent(RMFatalEventType.CRITICAL_THREAD_CRASH,
              new Exception(e)));
{code}
will have no effect as the dispatcher thread has failed at the point.



> Set UncaughtExceptionHandler for event handling thread in AsyncDispatcher
> -------------------------------------------------------------------------
>
>                 Key: YARN-6204
>                 URL: https://issues.apache.org/jira/browse/YARN-6204
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.9.0, 3.0.0-alpha2
>            Reporter: Yufei Gu
>            Assignee: Yufei Gu
>         Attachments: YARN-6204.001.patch
>
>
> The event handling thread in AsyncDispatcher is a critical thread in RM. We should set
UncaughtExceptionHandler introduced in YARN-6061 for it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message