ERROR: Can't get master address from ZooKeeper; znode data == null
来源:5-5 -HBase安装

等米下锅
2018-08-06
使用教程的OOTB,按照教程配置安装hbase,jps,进程都在。
4400 NameNode
4849 ResourceManager
4691 SecondaryNameNode
6099 Jps
5300 QuorumPeerMain
5718 HMaster
5126 NodeManager
5865 HRegionServer
4525 DataNode
hbase shell时总是报错。
ERROR: Can't get master address from ZooKeeper; znode data == null
Here is some help for this command:
Show cluster status. Can be 'summary', 'simple', 'detailed', or 'replication'. The
default is 'summary'. Examples:
hbase> status
hbase> status 'simple'
hbase> status 'summary'
hbase> status 'detailed'
hbase> status 'replication'
hbase> status 'replication', 'source'
hbase> status 'replication', 'sink'
2回答
-
Michael_PK
2018-08-08
1)你看下zk环境是否zk cli能访问通不 2)你看下HBase配置文件中zk的地址端口对不3)如果是ootb环境,那检查下IP和hostname映射是否正确,因为ootb机器的IP是我家里的内网IP。4)看下HBase的日志信息,看看是否有更详细的日志输出
00 -
mightnight
2018-08-06
这log写的这么明显,
ERROR: Can't get master address from ZooKeeper; znode data == null
随便百度下就是答案:http://chengjianxiaoxue.iteye.com/blog/2242982
012018-08-08
相似问题