Destroying the Zookeeper Data Directory

I am very new to Hadoop / Hbase and zookeeper.
While running the create table command in the hbase shell I came across the following exception.

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

this asked the question that i need to follow these steps:

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

To fix this problem.

Can someone explain how to complete these steps in Ubuntu.
Any help would be greatly appreciated

+6
source share
2 answers

/zookeeperHome/conf/zoo.cfg: the file will have data transfer information

TickTime = 2000
DATADIR = / var /
Zookeeper ClientPort = 2181

see this

+7
source

The default data directory is / tmp / zookeeper. Otherwise, check the zoo.cfg file. Check these Dir properties and clear the corresponding pointer.

+2
source

All Articles