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 Bug
    • Status: Closed
    • Priority: Minor 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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development