[
https://issues.apache.org/jira/browse/HADOOP-7353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045119#comment-13045119
]
Hudson commented on HADOOP-7353:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #643 (See
[https://builds.apache.org/hudson/job/Hadoop-Common-trunk-Commit/643/])
HADOOP-7353. Cleanup FsShell and prevent masking of RTE stack traces.
Contributed by Daryn Sharp.
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1132764
Files :
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/Count.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/FsCommand.java
* /hadoop/common/trunk/CHANGES.txt
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/CommandFactory.java
* /hadoop/common/trunk/src/test/core/org/apache/hadoop/cli/testConf.xml
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/Command.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/shell/Display.java
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/FsShell.java
> 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
> Fix For: 0.23.0
>
> Attachments: HADOOP-7353-2.patch, 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