hadoop|Import/Export实现hbase集群间迁移

使用hbase自带的Import/Export工具逐表迁移,迁移示例如下:
OLD_CLUSTER: create 'member','m_id','address','info'
put'member','scutshuxue','info:age','24'
scan 'member'
【hadoop|Import/Export实现hbase集群间迁移】 ./hbase org.apache.hadoop.hbase.mapreduce.Export member hdfs://[new_cluster_namenode_ip]:8020/apps/hbase/data/membertest
hadoop distcp OLD_CLUSTER hbase数据到NEW_CLUSTER NEW_CLUSTER: create 'member','m_id','address','info'
./hbase org.apache.hadoop.hbase.mapreduce.Import member /apps/hbase/data/membertest

    推荐阅读