sh - Shell script to delete znodes(Zookeeper) -


i trying create shell script delete znodes. here command:

echo "ls /" | zookeeper-client echo "rmr /collections" | zookeeper-client 

there many such nodes want delete. whenever execute above commands, delete collections node , sometime throws error. reason found whenever run "zookeeper-client" through shell script, takes time zookeeper shell come up. there way can delete such nodes ?

any appreciated.

thanks.

you can delete zookeeper-client rmr

e.g zookeeper-client rmr /test


Comments

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -