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

Steve Loughran commented on HADOOP-8801:
----------------------------------------

looks OK, but the patch should fix something the original got wrong -it should 
use {{Throwable.toString()}} not {{Throwable.getMessage()}}.

If you want to see why, look at the source for {{NullPointerException}} and 
work out what message it prints...
                
> ExitUtil#terminate should capture the exception stack trace
> -----------------------------------------------------------
>
>                 Key: HADOOP-8801
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8801
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>             Fix For: 2.0.2-alpha
>
>         Attachments: hadoop-8801.txt
>
>
> ExitUtil#terminate(status,Throwable) should capture and log the stack trace 
> of the given throwable. This will help debug issues like HDFS-3933.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to