hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tsuna <tsuna...@gmail.com>
Subject Re: HBASE-2312 discussion
Date Tue, 16 Mar 2010 19:04:37 GMT
On Tue, Mar 16, 2010 at 10:13 AM, Karthik Ranganathan
<kranganathan@facebook.com> wrote:
> What are your thoughts?

Why not use ZooKeeper?

Each RS should hold a lock in ZK while it's alive.  When the RS gets
suspended for an extended period of time thanks to the magic of the GC
(or for some other reason FWIW), it would lose its lock, at which
point the master would notice and clean up the mess.  If the RS
resumes, it would notice that it lost its own lock and do the right
thing (commit suicide or whatever you want).

-- 
Benoit "tsuna" Sigoure
Software Engineer @ www.StumbleUpon.com

Mime
View raw message