增量同步
add_peer '5', CLUSTER_KEY => "192.168.1.1,192.168.1.2,192.168.1.3:2181:/hbase", STATE => "ENABLED"
set_peer_tableCFs '5', { "jfrcs:graph" => ["e", "f", "g", "h", "i", "l", "m", "s", "t"] }
enable_table_replication 'jfrcs:graph'
快照全量
1.源头他那快照
snapshot 'jfrcs:graph','jfrcs_graph_snp'
2.源头发到目标
hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot -snapshot jfrcs_graph_snp -copy-to hdfs://ip:8020/hbase -mappers 32 -bandwidth 250
3.目标节点恢复快照
clone_snapshot 'jfrcs_graph_snp', 'jfrcs:graph'