hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry He (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-12682) compaction thread throttle value is not correct in hbase-default.xml
Date Sun, 14 Dec 2014 06:07:13 GMT
Jerry He created HBASE-12682:

             Summary: compaction thread throttle value is not correct in hbase-default.xml
                 Key: HBASE-12682
                 URL: https://issues.apache.org/jira/browse/HBASE-12682
             Project: HBase
          Issue Type: Bug
          Components: regionserver
    Affects Versions: 2.0.0
            Reporter: Jerry He
            Assignee: Jerry He
             Fix For: 2.0.0

While doing some compaction tuning and looking up some of the parameters, I noticed that hbase.regionserver.thread.compaction.throttle
default value in the documentation and in hbase-site.xml seems to be off the mark.

    <description>There are two different thread pools for compactions, one for large
compactions and
      the other for small compactions. This helps to keep compaction of lean tables (such
        <systemitem>hbase:meta</systemitem>) fast. If a compaction is larger than
this threshold, it
      goes into the large compaction pool. In most cases, the default value is appropriate.
      2 x hbase.hstore.compaction.max x hbase.hregion.memstore.flush.size (which defaults
to 128).
      The value field assumes that the value of hbase.hregion.memstore.flush.size is unchanged
      the default.</description>

It should be in bytes. Or am I miss anyting?
It is not a problem in 0.98 since the property is not in hbase-site.xml over there. It is
obtained dynamically:
throttlePoint =  conf.getLong("hbase.regionserver.thread.compaction.throttle",
          2 * maxFilesToCompact * storeConfigInfo.getMemstoreFlushSize());

This message was sent by Atlassian JIRA

View raw message