使用hbase hbck 检查报如下错误:
ERROR: (region actionlog3_201206,\xF5\xD71338640520048441900060910,1340796362317.938f47b2a853094f434a2efe71c51f59.)
Multiple regions have the same startkey: \xF5\xD71338640520048441900060910
ERROR: (region actionlog3_201206,\xF5\xD71338640520048441900060910,1340885168548.bf66227c91ada0baa9dd3a497badd3e7.) Multiple regions have the same startkey: \xF5\xD71338640520048441900060910
12/07/05 18:17:59 WARN util.HBaseFsck: reached end of problem group: \xF7\xDF1338646981049441900000887
Multiple regions have the same startkey: \xF5\xD71338640520048441900060910
ERROR: (region actionlog3_201206,\xF5\xD71338640520048441900060910,1340885168548.bf66227c91ada0baa9dd3a497badd3e7.) Multiple regions have the same startkey: \xF5\xD71338640520048441900060910
12/07/05 18:17:59 WARN util.HBaseFsck: reached end of problem group: \xF7\xDF1338646981049441900000887
解决办法:
先使用hbase hbck -fix修复
刷新60010页面,查看其中一个已经上线的region,将另一个region从meta表中删除
再次执行hbase
hbck 报下面的错:
hbck 报下面的错:
ERROR: Region hdfs://m0:9000/hbase/actionlog3_201206/3a538f83871d225fd90e610837991e2b on HDFS, but not listed in META or deployed on any region server
将HDFS上对应的目录删除
再次执行hbase hbck,问题解决