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

null is displayed in the console,if the src path is invalid while doing copyToLocal operation from commandLine

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.1, 0.22.0, 0.23.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When we perform copyToLocal operations from commandLine and if src Path is invalid

      srcFS.globStatus(srcpath) will return null. So, when we find the length of resulted value, it will throw NullPointerException.

      Since we are handling generic exception , it will display null as the message.

        Attachments

        1. HADOOP-7174.patch
          2 kB
          Uma Maheswara Rao G
        2. HADOOP-7174.1.patch
          3 kB
          Uma Maheswara Rao G

          Issue Links

            Activity

              People

              • Assignee:
                umamaheswararao Uma Maheswara Rao G
                Reporter:
                umamaheswararao Uma Maheswara Rao G
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: