赞
踩
报错信息例如:
2019-09-02 09:43:21,534 WARN [master/s128:16000:becomeActiveMaster] master.HMaster: hbase:meta,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1567388594985, server=s130,16020,1567155264196}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined.
2019-09-02 09:43:22,535 WARN [master/s128:16000:becomeActiveMaster] master.HMaster: hbase:meta,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1567388594985, server=s130,16020,1567155264196}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined.
2019-09-02 09:43:24,536 WARN [master/s128:16000:becomeActiveMaster] master.HMaster: hbase:meta,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1567388594985, server=s130,16020,1567155264196}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined.
2019-09-02 09:43:28,537 WARN [master/s128:16000:becomeActiveMaster] master.HMaster: hbase:meta,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1567388594985, server=s130,16020,1567155264196}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined.
猜测问题,可能是不同网络环境造成,连接不同WiFi启动hbase。
解决问题:把在zookeeper中删除/hbase即可,本文的zookeeper用的是hbase自带的,产生的文件在D:\hbase,这里还清空一下Hadoop,如下
D:\IT_Software\HBase\hadoop-2.7.3\bin\hdfs namenode -format
rmdir /s/q D:\Hortanwork\1gbhadoopram\Software\hadoop-2.7\hadoop-2.7.1\data\datanode
mkdir D:\Hortanwork\1gbhadoopram\Software\hadoop-2.7\hadoop-2.7.1\data\datanode
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。