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 "Hudson (JIRA)" <ji...@apache.org> on 2011/03/03 12:14:36 UTC

[jira] Commented: (HADOOP-7114) FsShell should dump all exceptions at DEBUG level

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

Hudson commented on HADOOP-7114:
--------------------------------

Integrated in Hadoop-Common-trunk #619 (See [https://hudson.apache.org/hudson/job/Hadoop-Common-trunk/619/])
    HADOOP-7114. FsShell should dump all exceptions at DEBUG level. Contributed by todd.


> FsShell should dump all exceptions at DEBUG level
> -------------------------------------------------
>
>                 Key: HADOOP-7114
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7114
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.23.0
>
>         Attachments: hadoop-7114.txt
>
>
> Most of the FsShell commands catch exceptions and then just print out an error like "foo: " + e.getLocalizedMessage(). This is fine when the exception is "user-facing" (eg permissions errors) but in the case of a user hitting a bug you get a useless error message with no stack trace. For example, something "chmod: null" in the case of a NullPointerException bug.
> It would help debug these cases for users and developers if we also logged the exception with full trace at DEBUG level.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira