ClusterId read in ZooKeeper is null 处理
Posted shareforever-999
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ClusterId read in ZooKeeper is null 处理相关的知识,希望对你有一定的参考价值。
ClusterId read in ZooKeeper is null.
Re-running the program after fixing issue 1 will result in the following error in the log file (Oddly logged at INFO level)
现象1: baseZNode = /hbase
现象2:ClusterId read in ZooKeeper is nul
检查Nodes
- ./zkCli.sh -server node01:2181,node02:2181,node03:2181
- ls /
解决办法
The HBase clients will discover the running HBase cluster using the following two properties:
- hbase.zookeeper.quorum: is used to connect to the zookeeper cluster
- zookeeper.znode.parent. tells which znode keeps the data (and address for HMaster) for the cluster
The value of zookeeper.znode.parent in hbase-1.2.0-cdh5.14.2/conf/hbase-site.xml is specified as /HBase (see below) which is correct but for some reason (still trying to figure this out), the value being printed is /hbase (现象1).
So currently I’ve overridden this programatically in the client program by adding the following line to the program
conf.set(“zookeeper.znode.parent”, “/HBase”);
以上是关于ClusterId read in ZooKeeper is null 处理的主要内容,如果未能解决你的问题,请参考以下文章
使用 Spark KMeans 算法打印 ClusterID 及其元素。
kafkakafka ClusterId 不匹配问题 The Cluster ID xx doesn‘t match stored clusterId Some
全网最详细的再次或多次格式化导致namenode的ClusterID和datanode的ClusterID之间不一致的问题解决办法(图文详解)
Rancher CLI 登录错误 - 状态 [401 未授权]。正文:[message=clusterID 不匹配]
Hadoop启动datanode失败,clusterId有问题
kafka.common.InconsistentClusterIdException: The Cluster ID doesn‘t match stored clusterId Some()