thanks Patrick, I want to know all watches set by all clients.
I would open a jira and write some design think about it later.

On Tue, Nov 2, 2010 at 11:53 PM, Patrick Hunt <ph...@apache.org> wrote:

> Hi Qian Ye, yes you should open a JIRA for this. If you want to work
> on a patch we could advise you. One thing not clear to me, are you
> interested in just the watches set by the particular client, or all
> watches set by all clients? The first should be relatively easy to
> get, the second would be more involved (the difference btw getting
> local watches and having to talk to the server to get all watches).
> Does this have to be a client api or more administrative in nature?
> Also see
> http://hadoop.apache.org/zookeeper/docs/current/zookeeperAdmin.html#sc_zkCommands
> specifically the "wchs,wchp,wchs" 4 letter words.
>
> Regards,
>
> Patrick
>
> On Tue, Nov 2, 2010 at 4:11 AM, Qian Ye <yeqian....@gmail.com> wrote:
> > Hi all,
> >
> > Is there any progress about this issue? Should we open a new JIRA for it?
> We
> > really need a way to know who set watchers on a specific node.
> >
> > thanks~
> >
> > On Thu, Aug 6, 2009 at 11:01 PM, Qian Ye <yeqian....@gmail.com> wrote:
> >
> >> Thanks Mahadev, I think it is a useful feature for many scenarios.
> >>
> >>
> >> On Thu, Aug 6, 2009 at 12:59 PM, Mahadev Konar <maha...@yahoo-inc.com
> >wrote:
> >>
> >>> Hi Qian,
> >>>  There isnt any such api. We have been thinking abt adding an api on
> >>> cancelling a cleints watches. We have been thinking about adding a proc
> >>> filesystem wherein a cleintt will have a list of all the watches. This
> >>> data
> >>> can be used to know which clients are watching what znode, but this has
> >>> always been in the future discussions for us. We DO NOT have anything
> >>> planned in the near future for this.
> >>>
> >>> Thanks
> >>> mahadev
> >>>
> >>>
> >>> On 8/5/09 6:57 PM, "Qian Ye" <yeqian....@gmail.com> wrote:
> >>>
> >>> > Hi all:
> >>> >
> >>> > Is there a client API for querying the watchers' owner for a specific
> >>> znode?
> >>> > In some situation, we want to find out who set watchers on the znode.
> >>> >
> >>> > thx
> >>>
> >>>
> >>
> >>
> >> --
> >> With Regards!
> >>
> >> Ye, Qian
> >> Made in Zhejiang University
> >>
> >>
> >
> >
> > --
> > With Regards!
> >
> > Ye, Qian
> >
>



-- 
With Regards!

Ye, Qian

Reply via email to