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

DistCp throw NPE if src is root

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • None
    • None

    Description

      bash-3.2$ ./bin/hadoop distcp / .
      09/04/14 14:01:11 INFO tools.DistCp: srcPaths=[/]
      09/04/14 14:01:11 INFO tools.DistCp: destPath=
      With failures, global counters are inaccurate; consider running with -i
      Copy failed: java.lang.NullPointerException
              at org.apache.hadoop.tools.DistCp.makeRelative(DistCp.java:901)
              at org.apache.hadoop.tools.DistCp.setup(DistCp.java:1059)
              ...
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: