[
https://issues.apache.org/jira/browse/HBASE-11648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14082806#comment-14082806
]
Hudson commented on HBASE-11648:
--------------------------------
FAILURE: Integrated in HBase-TRUNK #5361 (See
[https://builds.apache.org/job/HBase-TRUNK/5361/])
HBASE-11648 Typo of config: hbase.hstore.compaction.ratio in book.xml (Liu
Shaohui) (stack: rev 8ec64ec0df52fe4607cde5589e9d522908bb59be)
* src/main/docbkx/book.xml
* hbase-common/src/main/resources/hbase-default.xml
> 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: 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)