我无法启动 Hbase Master,因为我收到此错误:
[Thread-18] master.HMaster: hbase:meta,,1.1588230740
is NOT online; state={1588230740 state=OPEN, ts=1569328636085, server=regionserver17,16020,1566375930434};
ServerCrashProcedures=true.
Master startup cannot progress, in holding-pattern until region onlined.
Hbase Master 处于事件状态并且是绿色的,但实际上它没有正确启动,因为它在日志中生成了那些警告,实际上我什至无法在 Hbase shell 中执行列表,因为然后我收到错误:错误:
org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
hbase:meta 引用了一些不存在的 ID 1566375930434,它不存在于 WAL 中,也不存在于 zookeeper-client/hbase-unsecure/rs 列表中。
我尝试使用这些命令:
$ sudo -u hdfs hdfs dfs -rm -r /apps/hbase/data/WALs/
$ zookeeper-client rmr /hbase-unsecure/rs
我也试过这个:
rm -f /var/lib/ambari-metrics-collector/hbase-tmp/zookeeper/zookeeper_0/version-2/*
并重新启动了 Hbase 但仍然总是有同样的问题。
如果有人可以给我额外的建议尝试什么。
谢谢
最佳答案
我们解决了这个问题。
解决方法是
关于hadoop - HBase - hbase :metadata holds info about non existing RegionServer ID - "Master startup cannot progress, in holding-pattern until region onlined.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58092377/