MOB cache properties
The MOB cache properties are hbase.mob.file.cache.size, hbase.mob.cache.evict.period, and hbase.mob.cache.evict.remain.ratio.
Property and Default Value | Description |
---|---|
hbase.mob.file.cache.size Default Value: 1000 |
Number of opened file handlers to cache. A larger value enhances read operations by providing more file handlers per MOB file cache and reduce frequent file opening and closing. However, if the value is set too high, a "too many opened file handers" condition can occur. |
hbase.mob.cache.evict.period Default Value: 3600 |
The amount of time (in seconds) after which an unused file is evicted from the MOB cache. |
hbase.mob.cache.evict.remain.ratio Default Value: 0.5f |
A multiplier (between 0.0 and 1.0) that determines how many files remain cached after the hbase.mob.file.cache.size property threshold is reached. The default value is 0.5f, which indicates that half the files (the least-recently used ones) are evicted. |