hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-7114) FsShell should dump all exceptions at DEBUG level
Date Thu, 20 Jan 2011 22:21:43 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-7114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Todd Lipcon updated HADOOP-7114:

    Attachment: hadoop-7114.txt

> 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
>         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.
You can reply to this email to add a comment to the issue online.

View raw message