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, 23:21
(this is getting potentially off-topic, so sorry to the list)
On 25 December 2013 14:26, Kaushal Shriyan <[EMAIL PROTECTED]> wrote:

> >> wrote:I am getting the below error
>
> zk-shell server:2181 --run-once "tree /"
> Traceback (most recent call last):
>

(...snip...)

Oh, you need Python 2.7 (I'll fix the setup.py to express that). And no,
you can run this from any host that can reach any of your ZK servers (the
leader — if it's serving —, the followers or the observers) (i.e.: you
should be able to reach them on 2181/tcp most likely).
-rgs