[ https://issues.apache.org/jira/browse/HADOOP-5673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE resolved HADOOP-5673. -------------------------------------------- Resolution: Invalid Assignee: (was: Tsz Wo (Nicholas), SZE) I cannot reproduce this. Probably did something wrong last time. > DistCp throw NPE if src is root > ------------------------------- > > Key: HADOOP-5673 > URL: https://issues.apache.org/jira/browse/HADOOP-5673 > Project: Hadoop Core > Issue Type: Bug > Components: tools/distcp > Reporter: Tsz Wo (Nicholas), SZE > > {noformat} > 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) > ... > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.