Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB9E2E225 for ; Tue, 26 Feb 2013 13:54:15 +0000 (UTC) Received: (qmail 77724 invoked by uid 500); 26 Feb 2013 13:54:15 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 77176 invoked by uid 500); 26 Feb 2013 13:54:15 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 77133 invoked by uid 99); 26 Feb 2013 13:54:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2013 13:54:14 +0000 Date: Tue, 26 Feb 2013 13:54:14 +0000 (UTC) From: "Jean-Marc Spaggiari (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-7721) Local Transactions in META MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-7721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587129#comment-13587129 ] Jean-Marc Spaggiari commented on HBASE-7721: -------------------------------------------- bq. I think we should try this for 0.94. It would allow for online schema alter (and with HBASE-7403) online schema merge. I totally agree with this statement. I'm eager to see online merge in. > Local Transactions in META > -------------------------- > > Key: HBASE-7721 > URL: https://issues.apache.org/jira/browse/HBASE-7721 > Project: HBase > Issue Type: Improvement > Components: Coprocessors, regionserver > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Fix For: 0.95.0 > > > Thanks to Lars' local transactions patch (HBASE-5229), we can entertain the possibility of doing local transactions within META regions. > We need this mainly for region splits and merges. Clients scan the META concurrent to the split/merge operations, and to prevent the clients from seeing overlapping region boundaries or holes in META, we just through hoops. For more backgroun, see BlockingMetaScannerVisitor, HBASE-5986, and my comments at https://reviews.apache.org/r/8716/. > Now, for the actual implementation options: > 1. As outlined in http://hadoop-hbase.blogspot.com/2012_02_01_archive.html, > - We have to implement a Custom RegionSplitPolicy for the META regions to ensure that a table's regions are always co-located in the same META region. Then we can add MultiRowMutationEndpoint as a system level coprocessor, and use it for META operations. > 2. Do smt like HBASE-7716, and expose local atomic multi-row operations as a native API. > 3. Move META to zookeeper. Use zookeeper.multi. > Then we can change region split / merge logic to make use of atomic META operations. > Thoughts, suggestions? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira