通常只有相邻的region才能进行merge
如果region的名称为TestTable,0094429456,1289497600452.527db22f95c8a9e0116f0cc13c680396. 那么region名称的encoded是527db22f95c8a9e0116f0cc13c680396
操作举例
有2个region相邻1
2bookingInfo:booking_info_20150204,bi_2015-02-04~F5ZzQcv_-3QpLobklS2nPcc~EG,1423021249808.d5802b3cd2c50aaf332023d9f864d279.
bookingInfo:booking_info_20150204,bi_2015-02-04~UppNqcpGtZInVxJNCXcpiq8~3,1423021284600.c4a2fc692d60fa803200de5a6cf6887d.
执行合并操作1
2hbase(main):006:0> merge_region 'd5802b3cd2c50aaf332023d9f864d279','c4a2fc692d60fa803200de5a6cf6887d'
0 row(s) in 0.0540 seconds
合并成了1
bookingInfo:booking_info_20150204,bi_2015-02-04~F5ZzQcv_-3QpLobklS2nPcc~EG,1437883624733.6197e75861aef012a52396e8cd9fc33b.