gpt4 book ai didi

hadoop - 错误:在表HBase中发现不一致

转载 作者:行者123 更新时间:2023-12-02 21:53:22 25 4
gpt4 key购买 nike

我们将HBase 0.94.7与两个区域服务器一起使用。我们有一个始终处于转型期的地区。当我执行hbase hbck时,发现不一致之处。但是hbase hbck -repairhbase hbck -fix都不会有帮助,因为该区域正在过渡。这是hbase hbck的日志

ERROR: Region { meta => LogTable,\x00\x00\x01\xE8\x00\x00\x01@\x07B\x02\xCF\xEF\xCE>.,1374573828457.f41ff2fae25d1dab3f16306f4f995369., hdfs => hdfs://master:8020/hbase/LogTable/f41ff2fae25d1dab3f16306f4f995369, deployed =>  } not deployed on any region server.
ERROR: There is a hole in the region chain between \x00\x00\x01\xE8\x00\x00\x01@\x07B\x02\xCF\xEF\xCE>. and \x00\x00\x01\xFC\x00\x00\x01@\x08\x1E1\x0F\x07&\xCE\x11. You need to create a new .regioninfo and region dir in hdfs to plug the hole.
ERROR: Found inconsistency in table LogTable
ERROR: Found lingering reference file hdfs://master:8020/hbase/LogTable/f41ff2fae25d1dab3f16306f4f995369/l/d9c7d33257ae406caf8d94277ff6d247.fbda7904cd1f0ac9583e04029a138487
ERROR: Found lingering reference file hdfs://master:8020/hbase/LogTable/f41ff2fae25d1dab3f16306f4f995369/l/b4f4b4ba52f041d5b9ee03318cac7fb7.fbda7904cd1f0ac9583e04029a138487
ERROR: Found lingering reference file hdfs://master:8020/hbase/LogTable/f41ff2fae25d1dab3f16306f4f995369/l/ee7dd42b15fe4622882ec6a7a773e01f.fbda7904cd1f0ac9583e04029a138487

当我尝试 hbase hbck -repair时,由于过渡区域,它无限循环:
INFO util.HBaseFsckRepair: Region still in transition, waiting for it to become assigned: {NAME => 'LogTable'....}

我不知道如何解决此问题,任何人都可以帮忙吗?

谢谢

最佳答案

试试这个:

hbase org.apache.hadoop.hbase.util.Merge <br/>

用法:
bin/hbase merge [table-name] region-1 region-2 

关于hadoop - 错误:在表HBase中发现不一致,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17810443/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com