Home > other >  Hbase error: Can the & # x27; T get master address from ZooKeeper; Znode data==null
Hbase error: Can the & # x27; T get master address from ZooKeeper; Znode data==null

Time:09-26

Install HBASE0.98.3 HADOOP2.2 HA mode
After the file is configured into Hbase error Can 't get the master address from ZooKeeper. Null znode data=https://bbs.csdn.net/topics/=
Hbase - site. The XML configuration files:
 & lt; Configuration> 

Hbase. Rootdir
HDFS://mycluster/hbase


Hbase. Cluster. Distributed
True



Hbase. Master
HDFS://hadoop001:6000 & lt;/value>



Hbase. Zookeeper. Quorum
Hadoop001 hadoop002, hadoop003 hadoop004, hadoop005 & lt;/value>


Hbase. Master. Maxclockskew
600000 & lt;/value>


Zookeeper. Session. Timeout
60000 & lt;/value>


Hbase. Zookeeper. Property. ClientPort
2181 & lt;/value>


Hbase. Master. Port
60000 & lt;/value>


Hbase. Zookeeper. Property. DataDir
/home/hadoop/zookeeper - 3.4.6/data



Hbase - env. Sh configuration file:
#
 JAVA 
Export JAVA_HOME=/usr/local/jdk1.7.0 _60
Export HBASE_MANAGES_ZK=false
Export HBASE_LOG_DIR=/home/hadoop/logs/hbase
Export HADOOP_HOME=/home/hadoop/hadoop - 2.2.0
Export HBASE_HOME=/home/hadoop/hbase - 0.98.3 - hadoop2
The export PATH=$HBASE_HOME/bin: $PATH

Regionservers configuration file:
 hadoop001 
Hadoop002
Hadoop003
Hadoop004
Hadoop005

The core - site. XML:
 & lt; Configuration> 

Fs. DefaultFS
HDFS://mycluster


Fs. Default. Name
HDFS://hadoop001:9000 & lt;/value>


IO. File. Buffer. Size
131072 & lt;/value>


Hadoop. TMP. Dir
/home/hadoop/tmp


Hadoop. Proxyuser. Hadoop. Hosts
* & lt;/value>


Hadoop. Proxyuser. Hadoop. Groups
* & lt;/value>


Ha. The zookeeper. Quorum
Hadoop003 hadoop004, hadoop005 & lt;/value>


Zookeeper. Znode. Parent
/hbase


Ha. The zookeeper. Session - a timeout. Ms
1000 & lt;/value>

-->

Fs. Trash. Interval
1440 & lt;/value>


CodePudding user response:

To help the top, the same problem

CodePudding user response:

This problem could be the result of a zookeeper unstable, USES a virtual machine, often suspended state, use hbase list command below mistakes, this could be the result of a stability of hbase restart hbase service

CodePudding user response:

Help, meet the same problem as the
  • Related