Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.1
-
Reviewed
Description
./hadoop distcp -mapredSslConf ssl-distcp.xml hftp://x.x.x.x:25003/history hdfs://x.x.x.X:25008/history
if ssl-distcp.xml file not exist in class path, distcp will throw NullPointerException.
java.lang.NullPointerException at org.apache.hadoop.tools.DistCp.setupSSLConfig(DistCp.java:266) at org.apache.hadoop.tools.DistCp.createJob(DistCp.java:250) at org.apache.hadoop.tools.DistCp.createAndSubmitJob(DistCp.java:175) at org.apache.hadoop.tools.DistCp.execute(DistCp.java:154) at org.apache.hadoop.tools.DistCp.run(DistCp.java:127) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.tools.DistCp.main(DistCp.java:431)
Attachments
Attachments
Issue Links
- is related to
-
HDFS-9640 Remove hsftp from DistCp in trunk
- Resolved