Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A2649327 for ; Sun, 12 Feb 2012 17:33:58 +0000 (UTC) Received: (qmail 9562 invoked by uid 500); 12 Feb 2012 17:33:56 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 9501 invoked by uid 500); 12 Feb 2012 17:33:55 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Delivered-To: moderator for user@hbase.apache.org Received: (qmail 68755 invoked by uid 99); 12 Feb 2012 09:00:39 -0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4LAFV+N09bso3q/2dsb2JhbABDhRCnRoIgfoEIgXIBAQUnLyIRCxgEBRMDDQIJAwIBAgEnHhMGAgEBEIdrBqZHCJBhgSuIBoIwEQICBQEOARckARQGBIQEAwUCCQsJBAkBAREcggOBGgSIHI0WkmU Message-ID: <4F377F97.4040201@apache.org> Date: Sun, 12 Feb 2012 10:00:07 +0100 From: Eric Charles User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0) Gecko/20120129 Thunderbird/10.0 MIME-Version: 1.0 To: user@hbase.apache.org Subject: Re: Which server store the root and .meta. information? References: In-Reply-To: Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Hi Doug, I was well thinking that master was in the play in case of region split or problems. I searched in the paper book I have, but didn't really find anything on that. Luckily, it is well documented on http://hbase.apache.org/book/regions.arch.html: - failover: "... The Master will detect that the RegionServer has failed. " - split: "...and then reports the split to the Master. " So master seems also to be involved in a regular splitting in addition to RS lose. More questions: 1.- What occurs if the region server can not report to Master after splitting (for example if a guy like me killed the master to see 'what happens'...). 2.- How does the master achieve the monitoring of its regions? (is there an hearbeat generated by the regions or does Master pol). (searched around in books... but didn't find, maybe something to do with CatalogJanitor?) Thx, Eric On 11/02/12 20:12, Doug Meil wrote: > > Regarding the master being down, just be aware that if you lose an RS that > you'll have issues because the master is what does the reassignment. Per > the previous comments, at steady-state HBase can run without the master - > there's an asterisk. > > > > > On 2/11/12 11:31 AM, "Eric Charles" wrote: > >> Funky, cause HBase is often presented as a 3-layers server model >> zookeeper/master/region (root/meta in the regions bringing still more >> fogs). >> >> Maybe the commonly understanding in the community is that HBase's >> HMaster is like Hadoop's NameNode, which is not the case (NameNode's >> failure will bring your cluster down, HMaster's failure will not...). >> >> Upon presentation simplification (via 'master' renaming, or at least via >> explanation emphases), having a more simple model such as the one >> described in HBASE-3171 could help (this is my very short opinion, I >> remember having read valid arguments against that model). >> >> client<->zk<->(master)<->region(root|master) >> or >> client<->zk<->region (+admin) >> >> the latter looks simpler, doesn't it? >> >> >> Thx, >> >> Eric >> >> On 11/02/12 16:45, Stack wrote: >>> 2012/2/11 Eric Charles: >>>> Hypothetical case (probably asked a number of time here, sorry...): >>>> >>>> Can a client correcty put, get, scan (no admins tasks such as create >>>> table,...) with a HBase cluster having its HMaster process down ? >>>> >>> >>> It can Eric. Kill your master and you can do all the above. >>> St.Ack >> >> -- >> eric | http://about.echarles.net | @echarles >> > > -- eric | http://about.echarles.net | @echarles