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 D043BDA0D for ; Tue, 4 Sep 2012 23:44:08 +0000 (UTC) Received: (qmail 92804 invoked by uid 500); 4 Sep 2012 23:44:08 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 92770 invoked by uid 500); 4 Sep 2012 23:44:08 -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 92759 invoked by uid 99); 4 Sep 2012 23:44:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 23:44:08 +0000 Date: Wed, 5 Sep 2012 10:44:08 +1100 (NCT) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: <1713513128.35807.1346802248125.JavaMail.jiratomcat@arcas> In-Reply-To: <576460482.13752.1305456107342.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HBASE-3887) Add region deletion tool 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-3887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl resolved HBASE-3887. ---------------------------------- Resolution: Duplicate Thanks for the script Ophir. I'm marking this as DUP of HBASE-5504. I linked back to this issue from there. > Add region deletion tool > ------------------------ > > Key: HBASE-3887 > URL: https://issues.apache.org/jira/browse/HBASE-3887 > Project: HBase > Issue Type: New Feature > Components: regionserver > Reporter: Ophir Cohen > Priority: Minor > Attachments: online_delete.rb > > > A region deletion tool can be very useful to remove large amount of data. > For example, it can be used to remove all data older than specific date (assuming your data sorted by dates) etc... > This tool should be something as follows: > Input: region key or (even better!) start & end key. > 1. Split region to isolate the keys. > 2. Disable the relevant regions. > 3. Delete files from the file system. > 4. Update .META. table. -- 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