hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enis Söztutar <enis....@gmail.com>
Subject Re: Need pointers to Master ZK Lock code
Date Thu, 14 Mar 2013 22:10:00 GMT
You can look for the code in ActiveMasterManager.java. Also zookeeper has a
recipe for leader election, which is pretty straightforward (

Apache Curator (recently incubating) also has a leader election recipe


On Thu, Mar 14, 2013 at 2:56 PM, Varun Sharma <varun@pinterest.com> wrote:

> Hi folks,
> I wonder if someone could provide me some pointers to where the code which
> holds the zookeeper lock on the hbase/master node. Not that something is
> wrong there but I am trying to do something similar for another project,
> would appreciate any pointers.
> Thanks
> Varun

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