老集群

hbase(main):001:0> status
4 servers, 0 dead, 0.0000 average load hbase(main):002:0> list
TABLE
class_stats
geocode_cache_ta_us
stats_validation
vendor_delta_poi_530_3048
vendor_source_poi_10066
vendor_source_poi_530
vendor_source_poi_history
vendor_source_rf_10066
8 row(s) in 0.3020 seconds

迁移命令

hbase org.apache.hadoop.hbase.mapreduce.CopyTable --peer.adr=ec2d-newcntprocnn-01,ec2d-newcntprocdn-01,ec2d-newcntprocdn-02:2181:/hbase class_stats
hbase org.apache.hadoop.hbase.mapreduce.CopyTable --peer.adr=ec2d-newcntprocnn-01,ec2d-newcntprocdn-01,ec2d-newcntprocdn-02:2181:/hbase geocode_cache_ta_us
hbase org.apache.hadoop.hbase.mapreduce.CopyTable --peer.adr=ec2d-newcntprocnn-01,ec2d-newcntprocdn-01,ec2d-newcntprocdn-02:2181:/hbase stats_validation
hbase org.apache.hadoop.hbase.mapreduce.CopyTable --peer.adr=ec2d-newcntprocnn-01,ec2d-newcntprocdn-01,ec2d-newcntprocdn-02:2181:/hbase vendor_delta_poi_530_3048
hbase org.apache.hadoop.hbase.mapreduce.CopyTable --peer.adr=ec2d-newcntprocnn-01,ec2d-newcntprocdn-01,ec2d-newcntprocdn-02:2181:/hbase vendor_source_poi_10066
hbase org.apache.hadoop.hbase.mapreduce.CopyTable --peer.adr=ec2d-newcntprocnn-01,ec2d-newcntprocdn-01,ec2d-newcntprocdn-02:2181:/hbase vendor_source_poi_530
hbase org.apache.hadoop.hbase.mapreduce.CopyTable --peer.adr=ec2d-newcntprocnn-01,ec2d-newcntprocdn-01,ec2d-newcntprocdn-02:2181:/hbase vendor_source_poi_history
hbase org.apache.hadoop.hbase.mapreduce.CopyTable --peer.adr=ec2d-newcntprocnn-01,ec2d-newcntprocdn-01,ec2d-newcntprocdn-02:2181:/hbase vendor_source_rf_10066
05-07 12:58