Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> Issue with Distcp


Hi ALL

   I am getting error , looks like bellow, Do you have any idea why it is
like that. I could able to ping both the machine vice versa.

   Error:

  hadoop@hadoophost2:~/Desktop$ hadoop distcp
hdfs://hadoophost2:54310/input/model.txt   hdfs://
10.192.244.51:54310/dataSet
13/03/20 03:40:16 INFO tools.DistCp:
srcPaths=[hdfs://hadoophost2:54310/input/model.txt]
13/03/20 03:40:16 INFO tools.DistCp: destPath=hdfs://
10.192.244.51:54310/dataSet
With failures, global counters are inaccurate; consider running with -i
*Copy failed: java.io.IOException: Failed on local exception:
java.io.IOException: Response is null.; Host Details : local host is:
"hadoophost2/10.192.245.222"; destination host is: "ubuntu.local":54310; *
    at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:759)
    at org.apache.hadoop.ipc.Client.call(Client.java:1164)
    at
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:202)
    at $Proxy9.getFileInfo(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at
org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:164)
    at
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:83)
    at $Proxy9.getFileInfo(Unknown Source)
    at
org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:628)
    at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1507)
    at
org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:783)
    at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1257)
    at org.apache.hadoop.tools.DistCp.setup(DistCp.java:1040)
    at org.apache.hadoop.tools.DistCp.copy(DistCp.java:666)
    at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
    at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)
Caused by: java.io.IOException: Response is null.
    at
org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:885)
    at org.apache.hadoop.ipc.Client$Connection.run(Client.java:813)
Regards,
samir.