Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11648

Typo of config: hbase.hstore.compaction.ratio in book.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • 2.0.0
    • Compaction
    • None
    • Reviewed

    Description

      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

          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.

      Attachments

        1. HBASE-11648-trunk-v1.diff
          6 kB
          Shaohui Liu

        Issue Links

          Activity

            People

              liushaohui Shaohui Liu
              liushaohui Shaohui Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: