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 B3BB190D0 for ; Wed, 16 Nov 2011 21:40:15 +0000 (UTC) Received: (qmail 23134 invoked by uid 500); 16 Nov 2011 21:40:15 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 23100 invoked by uid 500); 16 Nov 2011 21:40: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 23092 invoked by uid 99); 16 Nov 2011 21:40:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2011 21:40:15 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2011 21:40:14 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 80D488981C for ; Wed, 16 Nov 2011 21:39:54 +0000 (UTC) Date: Wed, 16 Nov 2011 21:39:54 +0000 (UTC) From: "Nicolas Spiegelberg (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <1441983538.36349.1321479594529.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1076387852.232.1317840150877.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4543) major_compact '.META.' has no effect 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-4543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151538#comment-13151538 ] Nicolas Spiegelberg commented on HBASE-4543: -------------------------------------------- does this occur in trunk? can we get a patch for this? > major_compact '.META.' has no effect > ------------------------------------ > > Key: HBASE-4543 > URL: https://issues.apache.org/jira/browse/HBASE-4543 > Project: HBase > Issue Type: Bug > Affects Versions: 0.89.20100621, 0.89.20100924 > Reporter: Amitanand Aiyer > Assignee: Amitanand Aiyer > Priority: Minor > Attachments: 0001-fix-the-issue-of-.META.-getting-ignored.patch > > > major_compact '.META.' has no effect, although major_compact 'any_other_table' works fine from the shell. > This issue seems to only affect 0.89. The apache-trunk seems to handle this case properly. > The issue is that getTableRegions() in HMaster.java only works if the tableName given is a "normal" table. > The methodology (using a MetaScanner to look through the .META. table for the tableName) does not work if > the tableName is .META. > The fix modifies getTableRegions() to check if the tableName is .META.; and if so, handle it accordingly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira