[
https://issues.apache.org/jira/browse/HADOOP-7353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043896#comment-13043896
]
Daryn Sharp commented on HADOOP-7353:
-------------------------------------
I also removed the slew of pre-existing warnings in {{FsShell}}...
> Cleanup FsShell and prevent masking of RTE stacktraces
> ------------------------------------------------------
>
> Key: HADOOP-7353
> URL: https://issues.apache.org/jira/browse/HADOOP-7353
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.23.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Attachments: HADOOP-7353.patch
>
>
> {{FsShell}}'s top level exception handler catches and displays exceptions.
> Unfortunately it displays only the first line of an exception, which means an
> unexpected {{RuntimeExceptions}} like {{NullPointerException}} only display
> "{{cmd: NullPointerException}}". This user has no context to understand
> and/or accurately report the issue.
> Found due to bugs such as {{HADOOP-7327}}.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira