zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Kelly <iv...@yahoo-inc.com>
Subject Re: delete znode when client's disconnect
Date Mon, 27 Jun 2011 17:09:00 GMT
Thats not possible at the moment. Have a look at 
https://issues.apache.org/jira/browse/ZOOKEEPER-834

-Ivan

On 27/06/2011 19:02, Yosef Arraf wrote:
> Hi Ivan,
> Thanks for the replay,
> we cannot use Ephemeral nodes:
> "Ephemeral znodes are not allowed to have children"
> Our Nodes have chields (/nodeid/attrebutes/type/id/...)
>
> any other idea?
> Thanks,
> Yosef
>
>
>
> On Mon, Jun 27, 2011 at 7:40 PM, Ivan Kelly <ivank@yahoo-inc.com 
> <mailto:ivank@yahoo-inc.com>> wrote:
>
>     Hi Yosef,
>
>     Sounds like you need to create the znode as Ephemeral.
>     http://zookeeper.apache.org/doc/r3.3.3/api/org/apache/zookeeper/CreateMode.html#EPHEMERAL
>
>     Regards
>     Ivan
>
>
>     On 27/06/2011 17:33, Yosef Arraf wrote:
>
>         Hi,
>         My Name is Yosef and i'm facing a problem when one of my ZooKeeper
>         Clients crash or shutdown (disconnected),
>         i want to delete is is znode and make it as unavailable.
>
>         Any one have any Idea that can help me to solve my problem?
>
>         Thanks,
>         Yosef.
>
>
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message