FAQ
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

Search Discussions

  • Konstantin Shvachko (JIRA) at Mar 21, 2006 at 8:28 pm
    [ 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
  • Doug Cutting (JIRA) at Mar 21, 2006 at 10:04 pm
    [ 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
  • Doug Cutting (JIRA) at Apr 24, 2006 at 11:11 pm
    [ 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
  • Doug Cutting (JIRA) at Apr 24, 2006 at 11:15 pm
    [ 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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedMar 21, '06 at 8:28p
activeApr 24, '06 at 11:15p
posts5
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Doug Cutting (JIRA): 5 posts

People

Translate

site design / logo © 2022 Grokbase