반응형
Notice
Recent Posts
Recent Comments
Link
안단테 안단테
7. zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retries 본문
IT 기술/BigData
7. zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retries
안단테에 2023. 2. 3. 15:32728x90
반응형
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
반응형
'IT 기술 > BigData' 카테고리의 다른 글
9. HBase 소개 - 2 (0) | 2023.02.03 |
---|---|
8. HBase 소개 - 1 (0) | 2023.02.03 |
6. hbase 에서 검색 (0) | 2023.02.03 |
5. Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.collect.MapMaker.keyEquivalence(Lcom/google/common/base/Equivalence;)Lcom/google/common/collect/MapMaker; (0) | 2023.02.03 |
4. java 에러 (0) | 2023.02.03 |
Comments