Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> delete znode when client's disconnect


Copy link to this message
-
Re: delete znode when client's disconnect
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 <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> 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.
>
>
>

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB