I have two hadoop clusters, My target is to use hadoop -cp to copy all the hdfs files from cluster1 to cluster2
Cluster1: Hadoop 0.20.2-cdh3u4
Cluster2: Hadoop 2.0.0-cdh4.1.1
Now, even just running dfs -ls command against cluster1 remotely on cluster2 as below:
hadoop fs -ls hdfs://cluster1-namenode:8020/hbase
I am getting the exception:
ls: Failed on local exception: java.io.IOException: Response is null.; Host Details : local host is: "cluster2-namenode/10.21.xxx.xxx"; destination host is: "cluster1-namenode":8020;
I think it's due to the hadoop version difference, is there any workaround on this? My old environment-cluster1 doesn't have mapred deployed which rules out all the distcp, bhase copytable options. And the hbase replication ability is not available on cluster1 neither. I am struggling to think of a way to migrate the hdfs data from cluster1 to cluster2 since everybody is talking about upgrading cdh3 to cdh4 instead of migrating from 3 to 4.