diff --git a/hbase-common/src/main/resources/hbase-default.xml b/hbase-common/src/main/resources/hbase-default.xml index d9f585467f9f..877cd744f828 100644 --- a/hbase-common/src/main/resources/hbase-default.xml +++ b/hbase-common/src/main/resources/hbase-default.xml @@ -606,8 +606,7 @@ possible configurations would overwhelm and obscure the important. Then the cluster's availability is at least 99% when balancing. - hbase.balancer.period - + hbase.balancer.period 300000 Period at which the region balancer runs in the Master. @@ -631,8 +630,27 @@ possible configurations would overwhelm and obscure the important. hbase.server.thread.wakefrequency 10000 - Time to sleep in between searches for work (in milliseconds). - Used as sleep interval by service threads such as log roller. + In master side, this config is the period used for FS related behaviors: + checking if hdfs is out of safe mode, setting or checking hbase.version file, + setting or checking hbase.id file. Using default value should be fine. + In regionserver side, this config is used in several places: flushing check interval, + compaction check interval, wal rolling check interval. Specially, admin can tune + flushing and compaction check interval by hbase.regionserver.flush.check.period + and hbase.regionserver.compaction.check.period. (in milliseconds) + + + hbase.regionserver.flush.check.period + ${hbase.server.thread.wakefrequency} + It determines the flushing check period of PeriodicFlusher in regionserver. + If unset, it uses hbase.server.thread.wakefrequency as default value. + (in milliseconds) + + + hbase.regionserver.compaction.check.period + ${hbase.server.thread.wakefrequency} + It determines the compaction check period of CompactionChecker in regionserver. + If unset, it uses hbase.server.thread.wakefrequency as default value. + (in milliseconds) hbase.server.versionfile.writeattempts