Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # user - List nodes and sub nodes in zookeeper


Copy link to this message
-
Re: List nodes and sub nodes in zookeeper
Raúl Gutiérrez Segalés 2013-12-25, 21:56
On 24 December 2013 09:52, Kaushal Shriyan <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Is there a way to list all the nodes and sub nodes on the command line in
> Zookeeper ?
>

You can do this with zk_shell:

$ pip install zk_shell
$ zk-shell server:2181 --run-once "tree /"
-rgs