Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 78278E349 for ; Sat, 16 Mar 2013 13:13:51 +0000 (UTC) Received: (qmail 77796 invoked by uid 500); 16 Mar 2013 13:13:50 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 77583 invoked by uid 500); 16 Mar 2013 13:13:47 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 77541 invoked by uid 99); 16 Mar 2013 13:13:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Mar 2013 13:13:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zjusch@163.com designates 220.181.13.27 as permitted sender) Received: from [220.181.13.27] (HELO m13-27.163.com) (220.181.13.27) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Mar 2013 13:13:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Received:Date:From:To:Subject:In-Reply-To: References:Content-Type:MIME-Version:Message-ID; bh=x6/9MvbA2MIO JP6rTz3XFBGP36OSQwc/mleV/kyNV+E=; b=kb2lcBGcQaXvWN95mkgAJYgqojO6 CIlyznTPTVm/vYvbs//sYqTTJhZr3RHFDZ1paJgchOsGRts1L83t8V7VqhnkJb92 DXrw7OUkQRZoPkLDuBjjTk56Ij5XIbO+R29rLO5onmFuyjQqM5dPST/ToQlNHCaQ QcLfyI/9JJEnOyA= Received: from zjusch$163.com ( [220.184.254.112] ) by ajax-webmail-wmsvr27 (Coremail) ; Sat, 16 Mar 2013 21:13:17 +0800 (CST) X-Originating-IP: [220.184.254.112] Date: Sat, 16 Mar 2013 21:13:17 +0800 (CST) From: "Chunhui Shen" To: dev@hbase.apache.org Subject: Re:Re: review request: HBASE-7403 Online Merge X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20130201(21528.5249.5248) Copyright (c) 2002-2013 www.mailtech.cn 163com In-Reply-To: References: X-CM-CTRLDATA: jhV5ZmZvb3Rlcl9odG09MzMxMTo4MQ== Content-Type: multipart/alternative; boundary="----=_Part_314028_1686845632.1363439597123" MIME-Version: 1.0 Message-ID: <2fa59ae7.149fa.13d73553643.Coremail.zjusch@163.com> X-CM-TRANSID: G8GowGBZAELtb0RRKzYPAA--.33654W X-CM-SenderInfo: 52mx2urk6rljoofrz/1tbiyAvhFFEABERd9gAAsM X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_314028_1686845632.1363439597123 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit Hey,JM, When regions exist hole or overlap, administrator could merge non adjacent regions to keep table consistency, otherwise we shouldn't merge non adjacent regions. I would point this out in the annotation Thanks for the review Chunhui At 2013-03-16 20:52:48,"Jean-Marc Spaggiari" wrote: >Hi Ted, > >I jut gave it a look. > >I have updated it on the RB. > >Overall, this is very good and I'm eager to see that integrated! I'm >waiting for this feature since the beginning ;) > >Regarding non adjacent regions merge? Will the system still be >consistent after that? Or will hbck report some regions overlaps? > >JM > > >2013/3/16 Ted Yu : >> Hi, >> On behalf of Chunhui, I am requesting review for HBASE-7403 Online Merge. >> >> This JIRA was created 3 months ago. >> Chunhui has responded to review comments very promptly, including a major >> rewrite around the time split transaction was rewritten. >> >> This feature has widely been requested. I feel the patch is mostly ready to >> go in. >> Here is brief recap of the steps. >> >> Process of merging two regions: >> >> a.client sends RPC (dispatch merging regions) to master >> b.master moves the regions together (on the regionserver where the more >> heavily loaded region resided) >> c.master sends RPC (merge regions) to this regionserver >> d.Regionserver executes the region merge transaction in the thread pool >> >> I think step b is a nice simplification for the problem. In previous >> versions of the patch, the two merging regions stay on respective servers >> which required more complex coordination through zookeeper. >> >> High level comment as well as detailed review are both welcome. >> >> Thanks ------=_Part_314028_1686845632.1363439597123--