Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Accumulo, mail # dev - Tserver zookeeper locks


Copy link to this message
-
Tserver zookeeper locks
John Vines 2013-06-21, 22:13
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?
+
Keith Turner 2013-06-21, 22:53
+
John Vines 2013-06-22, 03:32