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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.21.1, 0.22.0, 0.23.0
    • fs
    • None
    • 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.1.patch
          3 kB
          Uma Maheswara Rao G
        2. HADOOP-7174.patch
          2 kB
          Uma Maheswara Rao G

        Issue Links

          Activity

            People

              umamaheswararao Uma Maheswara Rao G
              umamaheswararao Uma Maheswara Rao G
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: