master启动无法继续,在区域联机之前保持模式

z4bn682m  于 2021-06-01  发布在  Hadoop
关注(0)|答案(1)|浏览(395)

我已经设置了一个带有两个节点的hbase集群,并且注意到警告“assignmentmanager:stackregion in transition”,它不允许主节点启动。
节点1:observepreserve.corp.com(主/管理员)
节点2:knewshoe.corp.com(区域服务器)
为什么会这样,怎么解决?
在hbase用户界面下,我可以看到下面的消息。
B94EB458BF643B46DEAF6B0098D1F95型hbase:namespace,,1542792846910.B94EB458BF643B46DEAF6B0098D1F95。state=开幕,ts=星期三11月21日09:39:46 utc 2018(pt18m9.696s前),server=knewshoe.corp.com,16020154279283282
日志:

2018-11-21 09:40:45,900 INFO  [ReadOnlyZKClient-observepreserve.corp.com:2181@0x4068418f] zookeeper.ZooKeeper: Session: 0x167359e5ad60006 closed
2018-11-21 09:40:45,900 INFO  [ReadOnlyZKClient-observepreserve.corp.com:2181@0x4068418f-EventThread] zookeeper.ClientCnxn: EventThread shut down for session: 0x167359e5ad60006
2018-11-21 09:40:49,266 WARN  [master/observepreserve:16000:becomeActiveMaster] master.HMaster: hbase:namespace,,1542792846910.b94eb458bf643b46deaf6b00998d1f95. is NOT online; state={b94eb458bf643b46deaf6b00998d1f95 state=OPENING, ts=1542793186164, server=knewshoe.corp.com,16020,1542792833282}; ServerCrashProcedures=false. Master startup cannot progress, in holding-pattern until region onlined.
2018-11-21 09:41:46,095 WARN  [ProcExecTimeout] assignment.AssignmentManager: STUCK Region-In-Transition rit=OPENING, location=knewshoe.corp.com,16020,1542792833282, table=hbase:namespace, region=b94eb458bf643b46deaf6b00998d1f95
2018-11-21 09:41:53,267 WARN  [master/observepreserve:16000:becomeActiveMaster] master.HMaster: hbase:namespace,,1542792846910.b94eb458bf643b46deaf6b00998d1f95. is NOT online; state={b94eb458bf643b46deaf6b00998d1f95 state=OPENING, ts=1542793186164, server=knewshoe.corp.com,16020,1542792833282}; ServerCrashProcedures=false. Master startup cannot progress, in holding-pattern until region onlined.
zqdjd7g9

zqdjd7g91#

是的,重新安装hbase会导致此问题!这是因为旧的元数据没有被删除,您需要尝试从zk中删除hbase元数据并重新启动hbase,一切都会好的,祝您好运。

相关问题