Hi Li Li, You can copy the Hbase Tables Remotely to another machine with the following commands,
# create new tableOrig on destination cluster dstCluster$ echo "create 'tableOrig', 'cf1', 'cf2'" | hbase shell # on source cluster run copy table with destination ZK quorum specified using --peer.adr # WARNING: In older versions, you are not alerted about any typo in these arguments! srcCluster$ hbase org.apache.hadoop.hbase.mapreduce.CopyTable --peer.adr= dstClusterZK:2181:/hbase tableOrig More information given in the section Remote HBase instance backup at http://blog.cloudera.com/blog/2012/06/online-hbase-backups-with-copytable-2/ Hope that works for you pretty straightforwardly. Cheers! On Fri, Nov 28, 2014 at 12:44 PM, Li Li <[email protected]> wrote: > I have a hbase cluster of version 0.98.5 with hadoop-1.2.1(no mapreduce) > I want to copy all the tables to another cluster whose version is > 0.98.1-cdh5.1.0 with 2.3.0-cdh5.1.0. > And also I want specify the hdfs replication factor of the files in > new cluster. is it possible? >
