flush_compact.xml

hbase.hstore.compactionThreshold

3

If more than this number of HStoreFiles in any one HStore

(one HStoreFile is written per flush of memstore) then a compaction

is run to rewrite all HStoreFiles files as one. Larger numbers

put off compaction but when it runs, it takes longer to complete.

hbase.hstore.compaction.max

10

Max number of HStoreFiles to compact per 'minor'

compaction.

hbase.regionserver.global.memstore.size

Maximum size of all memstores in a region server before

new

updates are blocked and flushes are forced. Defaults to 40% of heap (0.4).

Updates are blocked and flushes are forced until size of all

memstores

in a region server hits

hbase.regionserver.global.memstore.size.lower.limit.

The default value in this configuration has been intentionally left

emtpy in order to

honor the old hbase.regionserver.global.memstore.upperLimit property if

present.

hbase.regionserver.optionalcacheflushinterval

3600000

Maximum amount of time an edit lives in memory before being automatically

flushed.

Default 1 hour. Set it to 0 to disable automatic flushing.

hbase.hregion.memstore.flush.size

134217728

Memstore will be flushed to disk if size of the memstore

exceeds this number of bytes. Value is checked by a thread that runs

every hbase.server.thread.wakefrequency.

查看原文