You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2014/06/20 00:54:26 UTC

[jira] [Commented] (HADOOP-10312) Shell.ExitCodeException to have more useful toString

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

Chris Nauroth commented on HADOOP-10312:
----------------------------------------

I'm in favor of making {{exitCode}} private.  I looked back on HADOOP-2512, which introduced this exception class.  There doesn't appear to be any historical reason that it needs to be package-private.

> Shell.ExitCodeException to have more useful toString
> ----------------------------------------------------
>
>                 Key: HADOOP-10312
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10312
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>         Attachments: HADOOP-10312-001.patch
>
>
> Shell's ExitCodeException doesn't include the exit code in the toString value, so isn't that useful in diagnosing container start failures in YARN



--
This message was sent by Atlassian JIRA
(v6.2#6252)