zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Nauroth <cnaur...@hortonworks.com>
Subject Re: List Watches of a node
Date Tue, 28 Apr 2015 16:15:29 GMT
One thing to keep in mind is that the wchs, wchp and wchc commands
currently return information only about data change watches (Watcher
instances passed to ZooKeeper#exists or ZooKeeper#getData).  These
commands will not return information about child watches (Watcher
instances passed to ZooKeeper#getChildren).  ZOOKEEPER-1274 is an open
issue tracking enhancements to these commands to support returning
information about child watches too.


--Chris Nauroth

On 4/28/15, 8:23 AM, "S├ękine Coulibaly" <scoulibaly@gmail.com> wrote:

>The four letters command can be of some help here :
>echo "wchp" | nc localhost 2181
>Do you need access from a Java or C API ?
>2015-04-28 16:45 GMT+02:00 B. Heath Robinson <heath@midnighthour.org>:
>> I have a system where a client watches ephemeral nodes.  I would like
>>to be
>> able to know if there are any watches for a node.  Is there any way to
>> this?

View raw message