[
https://issues.apache.org/jira/browse/YARN-6204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15949963#comment-15949963
]
Haibo Chen edited comment on YARN-6204 at 3/30/17 10:16 PM:
------------------------------------------------------------
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. The
current default UncaughtExceptionHandler logs the exception at least.
was (Author: haibochen):
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: [email protected]
For additional commands, e-mail: [email protected]