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 470CA17B03 for ; Thu, 19 Mar 2015 00:06:40 +0000 (UTC) Received: (qmail 59554 invoked by uid 500); 19 Mar 2015 00:06:40 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 59278 invoked by uid 500); 19 Mar 2015 00:06:39 -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 59008 invoked by uid 99); 19 Mar 2015 00:06:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2015 00:06:39 +0000 Date: Thu, 19 Mar 2015 00:06:39 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11195) Potentially improve block locality during major compaction for old regions 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-11195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14368185#comment-14368185 ] Hudson commented on HBASE-11195: -------------------------------- SUCCESS: Integrated in HBase-0.94-security #579 (See [https://builds.apache.org/job/HBase-0.94-security/579/]) HBASE-11195 Addendum for TestHeapSize. (larsh: rev 260f2137bdb8b4ae839f5cc285509f34e31a006b) * src/main/java/org/apache/hadoop/hbase/regionserver/Store.java > Potentially improve block locality during major compaction for old regions > -------------------------------------------------------------------------- > > Key: HBASE-11195 > URL: https://issues.apache.org/jira/browse/HBASE-11195 > Project: HBase > Issue Type: Improvement > Affects Versions: 1.0.0, 2.0.0, 0.94.26, 0.98.10 > Reporter: churro morales > Assignee: churro morales > Fix For: 1.0.0, 2.0.0, 0.98.10, 0.94.27 > > Attachments: HBASE-11195-0.94.patch, HBASE-11195-0.98.patch, HBASE-11195-0.98.v1.patch, HBASE-11195.patch, HBASE-11195.patch > > > This might be a specific use case. But we have some regions which are no longer written to (due to the key). Those regions have 1 store file and they are very old, they haven't been written to in a while. We still use these regions to read from so locality would be nice. > I propose putting a configuration option: something like > hbase.hstore.min.locality.to.skip.major.compact [between 0 and 1] > such that you can decide whether or not to skip major compaction for an old region with a single store file. > I'll attach a patch, let me know what you guys think. -- This message was sent by Atlassian JIRA (v6.3.4#6332)