[ https://issues.apache.org/jira/browse/HBASE-23267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on HBASE-23267 started by Vladimir Rodionov. ------------------------------------------------- > Test case for MOB compaction in a regular mode. > ----------------------------------------------- > > Key: HBASE-23267 > URL: https://issues.apache.org/jira/browse/HBASE-23267 > Project: HBase > Issue Type: Sub-task > Reporter: Vladimir Rodionov > Assignee: Vladimir Rodionov > Priority: Major > > We need this test case too. > Test case description (similar to HBASE-23266): > {code} > /** > * Mob file compaction chore in default regular mode test. > * 1. Enables non-batch mode (default) for regular MOB compaction, > * Sets batch size to 7 regions. > * 2. Disables periodic MOB compactions, sets minimum age to archive to 10 > sec > * 3. Creates MOB table with 20 regions > * 4. Loads MOB data (randomized keys, 1000 rows), flushes data. > * 5. Repeats 4. two more times > * 6. Verifies that we have 20 *3 = 60 mob files (equals to number of > regions x 3) > * 7. Runs major MOB compaction. > * 8. Verifies that number of MOB files in a mob directory is 20 x4 = 80 > * 9. Waits for a period of time larger than minimum age to archive > * 10. Runs Mob cleaner chore > * 11 Verifies that number of MOB files in a mob directory is 20. > * 12 Runs scanner and checks all 3 * 1000 rows. > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)