hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vineet Mishra <clearmido...@gmail.com>
Subject Re: copy from one cluster to another of different version
Date Fri, 28 Nov 2014 07:32:24 GMT
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
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


Hope that works for you pretty straightforwardly.


On Fri, Nov 28, 2014 at 12:44 PM, Li Li <fancyerii@gmail.com> 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?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message