TECH SOLUTIONS

Click here to edit subtitle

Forums

Post Reply
Forum Home > Bigdata Learnings( Hadoop, HBase,Hive and other bigdata technologies) > Hadoop:Copy files from one hadoop cluster to other hadoop cluster

Sourav Gulati
Site Owner
Posts: 83

Files can be copied from one hadoop cluster to other hadoop cluster as follows:

$ hadoop distcp hdfs://host1:9000/test hdfs://host2:9000/test

I will copy file "test" from one cluster to other.

File names can be same or different

You need to use hostnames because IP address will not work with this command.

Also, here port number is 9000 which should be replaced with the port number on which namenode is configured.




Click here for Other topics of BigData Technologies

 

January 17, 2013 at 3:54 AM Flag Quote & Reply

You must login to post.