Class IntegrationTestMobCompaction

java.lang.Object
org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.IntegrationTestBase
org.apache.hadoop.hbase.IntegrationTestMobCompaction
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

An integration test to detect regressions in HBASE-22749. Test creates MOB-enabled table, and runs in parallel, the following tasks: loads data, runs MOB compactions, runs MOB cleaning chore. The failure injections into MOB compaction cycle is implemented via specific sub-class of DefaultMobStoreCompactor - FaultyMobStoreCompactor. The probability of failure is controlled by command-line argument 'failprob'.
See Also:
  • HBASE-22749

    Sample usage:

     hbase org.apache.hadoop.hbase.IntegrationTestMobCompaction -Dservers=10 -Drows=1000000
     -Dfailprob=0.2