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 3AC4C11183 for ; Fri, 1 Aug 2014 16:57:39 +0000 (UTC) Received: (qmail 95393 invoked by uid 500); 1 Aug 2014 16:57:39 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 95343 invoked by uid 500); 1 Aug 2014 16:57: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 95326 invoked by uid 99); 1 Aug 2014 16:57:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2014 16:57:38 +0000 Date: Fri, 1 Aug 2014 16:57:38 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-11648) Typo of config: hbase.hstore.compaction.ratio in book.xml 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-11648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-11648: -------------------------- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Good one [~liushaohui] Thanks. Committed to master. > Typo of config: hbase.hstore.compaction.ratio in book.xml > --------------------------------------------------------- > > Key: HBASE-11648 > URL: https://issues.apache.org/jira/browse/HBASE-11648 > Project: HBase > Issue Type: Bug > Components: Compaction > Affects Versions: 1.0.0 > Reporter: Liu Shaohui > Assignee: Liu Shaohui > Priority: Minor > Fix For: 1.0.0, 2.0.0 > > Attachments: HBASE-11648-trunk-v1.diff > > > When looking at the parameters used by compaction algorithm in http://hbase.apache.org/book/regions.arch.html, we found there is typo. > In hbase code, the config key for compaction ratio is hbase.hstore.compaction.ratio. > But in the hbase book it's hbase.store.compaction.ratio. > CompactSelection.java#66 > {code} > this.conf = conf; > this.compactRatio = conf.getFloat("hbase.hstore.compaction.ratio", 1.2F); > this.compactRatioOffPeak = conf.getFloat("hbase.hstore.compaction.ratio.offpeak", 5.0F); > {code} > Just fix it to avoid misleading. -- This message was sent by Atlassian JIRA (v6.2#6252)