IT 기술/BigData
7. zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retries
안단테에
2023. 2. 3. 15:32
728x90
반응형
ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retries
15/04/10 23:26:24 WARN zookeeper.ZKUtil: hconnection Unable to set watcher on znode /hbase/master
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/master
이런 에러 뜨게 되면
아래 처럼 바구러ㅏ
Hi, J-D,
I just made summary about the experiences to set up a pseudo-distributed
mode HBase.
1) RedHat 9 is not suitable for running HBase and Hadoop. I don't know the
reasons. Now Ubuntu is my choice.
2) After the pseudo-distributed mode of HDFS is configured, it is required
to configure the hbase-env.sh and hbase-site.xml. The book, HBase the
Definitive Guide, does not mentions hbase.env.xml.
3) It should set up JAVA_HOME, HBASE_CLASSPATH and HBASE_MANAGES_ZK. My
hbase-env.sh is as follows.
export JAVA_HOME=/opt/jdk1.6.1/
export HBASE_CLASSPATH=/opt/hbase-0.92.0/conf
export HBASE_OPTS="-XX:+UseConcMarkSweepGC"
export HBASE_MANAGES_ZK=true
4) When configuring hbase-site.xml, the property,
hbase.cluster.distributed, must be set also. The book, HBase the Definitive
Guide, does not do that either. My hbase-site.xml is as follows.
hbase.rootdir
hdfs://localhost:9000/hbase
dfs.replication
1
hbase.cluster.distributed
true
I am a new user of HBase. Your suggestions are highly appreciated.
Best regards,
Bing
728x90
반응형