Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 77635 invoked from network); 29 Feb 2008 22:46:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Feb 2008 22:46:51 -0000 Received: (qmail 95595 invoked by uid 500); 29 Feb 2008 22:46:47 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 95578 invoked by uid 500); 29 Feb 2008 22:46:47 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 95567 invoked by uid 99); 29 Feb 2008 22:46:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 14:46:47 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 22:46:21 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C719A234C06C for ; Fri, 29 Feb 2008 14:45:52 -0800 (PST) Message-ID: <1191311429.1204325152814.JavaMail.jira@brutus> Date: Fri, 29 Feb 2008 14:45:52 -0800 (PST) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-480) Tool to manually merge two regions In-Reply-To: <579390625.1204324795072.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-480: ------------------------ Attachment: merge.patch HBASE-480 Tool to manually merge two regions M src/java/org/apache/hadoop/hbase/HMerge.java (main) Added. Made this class implement Tool interface so can source alternate configuration. (merge): Made it protected instead of private so can call it explicitly from subclass that does a different 'process' implementation. Added a 'force' flag that overrides the "won't merge if makes a too-big region" check. (getMetaRow): Added. Add protection against null HRegionInfo seen commonly in the past. (checkOffLine): Added. Usually merge will not work if table is online but offlining is not working reliably and shouldn't get in the way of this tool working anyways. Let subclasses choose whether this is necessary or not. M src/java/org/apache/hadoop/hbase/hql/DisableCommand.java Just some clean up and added a main so can invoke this class w/o having to go via hql > Tool to manually merge two regions > ---------------------------------- > > Key: HBASE-480 > URL: https://issues.apache.org/jira/browse/HBASE-480 > Project: Hadoop HBase > Issue Type: Bug > Reporter: stack > Priority: Minor > Attachments: merge.patch > > > hbase-471 needs a tool to merge two regions that have same start key. This tool may be of use elsewhere making repairs. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.