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 >> Testing expired sessions bug?


Copy link to this message
-
Re: Testing expired sessions bug?
Yes, it watches the bogus node but it also blocks until the second ZK instance successfully connects. I found that both of these things are necessary for reliable session killing.

-JZ

On Aug 21, 2012, at 2:30 PM, Ben Bangert <[EMAIL PROTECTED]>
 wrote:

> Ah, perhaps I'm misreading the Java code. It looks like it operates in the FAQ manner except it adds a watch for a non-existent node so that it can register a watcher for when it gets the next event... which is *assumed* to be a session being lost.
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