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
Accumulo >> mail # dev >> Tserver zookeeper locks


Copy link to this message
-
Tserver zookeeper locks
Eric probably knows the answer to this, but if anyone else can chime in it
would be great.
LiveTServerSet is what is used to maintain the set of all functional
tservers the master is aware of. Part of the logic for it is when it finds
that a znode for a tserver (tserver lock) goes missing, it will mark is as
lockless as well as reporting it as doomed to the master. The latter action
has the master try to phase it out of everything, etc.

The lockless part of it though seems a little foreign, but it may be
because my branch has changed substantially around ZooCache. It appears to
wait 10 minutes and if it is still lockless it will delete the lock
explicitly. But isn't the lock already gone? Or is the lock znode empty vs.
nonexistant?
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