wiping out the Zookeeper data directory wiping out the Zookeeper data directory hadoop hadoop

wiping out the Zookeeper data directory


/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.