I have scenario where we have to periodically load HFiles to HBase table on dialy basis.
HFile size for each run could be between 50 to 150 MB per region . These load could be 12 times a day as well as in some cases every 15 minutes.
While doing testing, I have observed that Minor compaction is not getting triggered even after having more than 3 files in region immediately. This may cause problem to have lots of files which is holding rows for same row key.
i have seen that compaction thread that is getting wake up after 10000 seconds (roughly 2 hours 45 minutes) are starting compaction and putting compaction task in Queue.
is there any configuration that can tells to trigger minor compaction as soon as 3 or more hFiles written by bulk load (completebulkload) irrespective of size of HFile ?
Hbase Version: HBase 1.1.2.2.6.5.4-1
Configuration:
hbase.hstore.compaction.max = 10
hbase.hstore.compactionThreshold = 3
hbase.server.thread.wakefrequency = 10000