You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2006/03/21 21:27:59 UTC
[jira] Created: (HADOOP-97) DFSShell.cat returns
NullPointerException if file does not exist
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
Assigned to: Sameer Paranjpye
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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (HADOOP-97) DFSShell.cat returns
NullPointerException if file does not exist
Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-97?page=all ]
Konstantin Shvachko updated HADOOP-97:
--------------------------------------
Attachment: DFSShell.patch
> 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: Sameer Paranjpye
> 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (HADOOP-97) DFSShell.cat returns
NullPointerException if file does not exist
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-97?page=all ]
Doug Cutting closed HADOOP-97:
------------------------------
> 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
> Fix For: 0.1.0
> 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (HADOOP-97) DFSShell.cat returns
NullPointerException if file does not exist
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (HADOOP-97) DFSShell.cat returns
NullPointerException if file does not exist
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-97?page=all ]
Doug Cutting updated HADOOP-97:
-------------------------------
Fix Version: 0.1.0
> 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
> Fix For: 0.1.0
> 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira