문제

I am very new to Hadoop/Hbase and zookeeper.
I am facing following exception while running create table command in hbase shell.

org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

in this question it is mentioned that i need to follow these steps:

1. Stop Zookeeper  
2. Wipe the Zookeeper data directory  
3. Restart it

To resolve this issue.

Can someone please explain how to perform these steps in Ubuntu.
Any Help will be highly appreciated

도움이 되었습니까?

해결책

/zookeeperHome/conf/zoo.cfg: file will have data directroy details

tickTime=2000
dataDir=/var/zookeeper
clientPort=2181

see this

다른 팁

By default, the data directory is /tmp/zookeeper. Otherwise check zoo.cfg file. Check for property dataDir and clean up corresponding direcrory.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top