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.

https://issues.apache.org/jira/browse/ZOOKEEPER-1274


--Chris Nauroth




On 4/28/15, 8:23 AM, "Sékine Coulibaly" <[email protected]> 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 ?
>
>Reference:
>http://zookeeper.apache.org/doc/trunk/zookeeperAdmin.html#The+Four+Letter+
>Words
>
>
>2015-04-28 16:45 GMT+02:00 B. Heath Robinson <[email protected]>:
>
>> 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
>>do
>> this?
>>

Reply via email to