hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liu Shaohui (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-11648) Typo of config: hbase.hstore.compaction.ratio in book.xml
Date Fri, 01 Aug 2014 11:54:39 GMT
Liu Shaohui created HBASE-11648:

             Summary: 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
            Reporter: Liu Shaohui
            Assignee: Liu Shaohui
            Priority: Minor

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.
    this.conf = conf;
    this.compactRatio = conf.getFloat("hbase.hstore.compaction.ratio", 1.2F);
    this.compactRatioOffPeak = conf.getFloat("hbase.hstore.compaction.ratio.offpeak", 5.0F);

Just fix it to avoid misleading.

This message was sent by Atlassian JIRA

View raw message