You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Eric Payne (JIRA)" <ji...@apache.org> on 2017/08/17 16:46:00 UTC

[jira] [Updated] (YARN-2127) Move YarnUncaughtExceptionHandler into Hadoop common

     [ https://issues.apache.org/jira/browse/YARN-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Payne updated YARN-2127:
-----------------------------
    Attachment: YARN-2127.001.patch

Thanks [~stevel@apache.org]. I'm attaching a patch that subclasses {{YarnUncaughtExceptionHandler}} from {{HadoopUncaughtExceptionHandler}}. The next steps will be to have HDFS subclass it as well and add the handler in the HDFS daemons. However, after discussing with some of the HDFS crew here, it is a little complicated because there are cases where subthreads of the daemons could die and the daemon doesn't care, and there are cases where it depends on this behavior. There are discussions about this in HDFS-11192, HDFS-2911, and HDFS-313

> Move YarnUncaughtExceptionHandler into Hadoop common
> ----------------------------------------------------
>
>                 Key: YARN-2127
>                 URL: https://issues.apache.org/jira/browse/YARN-2127
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: api
>    Affects Versions: 2.4.0
>            Reporter: Steve Loughran
>            Assignee: Eric Payne
>            Priority: Minor
>         Attachments: YARN-2127.001.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> Create a superclass of {{YarnUncaughtExceptionHandler}}  in the hadoop-common code (retaining the original for compatibility).
> This would be available for any hadoop application to use, and the YARN-679 launcher could automatically set up the handler.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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