CDH卸载Kerberos后无法启动HBase的Master节点
- 查看HBase日志所在位置
- 报错信息:org.apache.hadoop.hbase.zookeeper.ZKWatcher: master:16000-0xff82b9c23892110e, quorum=hadoop01:2181,hadoop02:2181,hadoop03:2181, baseZNode=/hbase Received unexpected KeeperException, re-throwing exception org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /hbase/running
- 解决方案
- 参考文章:
查看HBase日志所在位置
由图可知HBase日志所在位置为/var/log/hbase 去相应的节点找到具体日志信息。
报错信息:org.apache.hadoop.hbase.zookeeper.ZKWatcher: master:16000-0xff82b9c23892110e, quorum=hadoop01:2181,hadoop02:2181,hadoop03:2181, baseZNode=/hbase Received unexpected KeeperException, re-throwing exception org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /hbase/running
ERROR org.apache.hadoop.hbase.zookeeper.ZKWatcher: master:16000-0xff82b9c23892110e, quorum=hadoop01:2181,hadoop02:2181,hadoop03:2181, baseZNode=/hbase Received unexpected KeeperException, re-throwing exception
org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /hbase/running
解决方案
在Zookeeper中查找"Zookeeper Server 的 Java 配置选项" 并添加 "-Dzookeeper.skipACL=yes"即可
参考文章:
https://www.zybuluo.com/xtccc/note/181910