AnsweredAssumed Answered

distcp Error

Question asked by sriharsha on Jul 9, 2013
Latest reply on Jul 9, 2013 by gera
Hi ,

i was trying to do distcp from dev cluster(which is on vm) to other cluster(which is on dedicated servers) i had the below error. Can any one point me in right direction if i am missing any thing or any think i need to do

hadoop distcp maprfs:///user/xxxx/2013 maprfs://hostname.com:7222 /user/xxxx/
  

    13/07/08 14:47:07 INFO tools.DistCp: srcPaths=[maprfs:/user/xxxx/2013]
    13/07/08 14:47:07 INFO tools.DistCp: destPath=maprfs://hostname.com:7222/user/xxxx
    13/07/08 14:47:07 INFO util.NativeCodeLoader: Loaded the native-hadoop library
    13/07/08 14:47:07 INFO security.JniBasedUnixGroupsMapping: Using JniBasedUnixGroupsMapping for Group resolution
    13/07/08 14:47:07 INFO fs.JobTrackerWatcher: Current running JobTracker is: hostname.com/xxx.xxx.xxx.xxx:9001
    2013-07-08 14:47:07,7670 ERROR Client fs/client/fileclient/cc/client.cc:304 Thread: 140547672209152 Failed to initialize client for cluster hostname.com:7222, error Connection reset by peer(104)
            With failures, global counters are inaccurate; consider running with -i
            Copy failed: java.io.IOException: Could not create FileClient
                    at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:250)
                    at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:262)
                    at com.mapr.fs.MapRFileSystem.getMapRFileStatus(MapRFileSystem.java:684)
                    at com.mapr.fs.MapRFileSystem.getFileStatus(MapRFileSystem.java:710)
                    at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:804)
                    at org.apache.hadoop.tools.DistCp.setup(DistCp.java:1069)
                    at org.apache.hadoop.tools.DistCp.copy(DistCp.java:675)
                    at org.apache.hadoop.tools.DistCp.run(DistCp.java:910)
                    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
                    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
                    at org.apache.hadoop.tools.DistCp.main(DistCp.java:937)

Outcomes