Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-97

DFSShell.cat returns NullPointerException if file does not exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.1.0
    • None
    • None

    Description

      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.

      Attachments

        1. DFSShell.patch
          1 kB
          Konstantin Shvachko

        Activity

          People

            shv Konstantin Shvachko
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: