hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HADOOP-97) DFSShell.cat returns NullPointerException if file does not exist
Date Tue, 21 Mar 2006 22:03:59 GMT
     [ http://issues.apache.org/jira/browse/HADOOP-97?page=all ]
Doug Cutting resolved HADOOP-97:

    Resolution: Fixed
     Assign To: Konstantin Shvachko  (was: Sameer Paranjpye)

I just committed this.  I also changed the error message to print to standard error rather
than standard output, and changed the exit code to be 1 when there's an error.

> DFSShell.cat returns NullPointerException if file does not exist
> ----------------------------------------------------------------
>          Key: HADOOP-97
>          URL: http://issues.apache.org/jira/browse/HADOOP-97
>      Project: Hadoop
>         Type: Bug
>   Components: dfs
>     Reporter: Konstantin Shvachko
>     Assignee: Konstantin Shvachko
>  Attachments: DFSShell.patch
> DFSShell.cat crashes with a NullPointerException if file to be displayed does not exist.
> The bug is fixed in the attached patch, and the general exception handling in main()
is added.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message