HBASE-23723 Ensure MOB compaction works in optimized mode after snapshot clone (...
commiteb7df0498cf4699f1c8c449ddb98a2d470433bf4
authorSean Busbey <busbey@apache.org>
Wed, 8 Apr 2020 19:16:43 +0000 (8 14:16 -0500)
committerGitHub <noreply@github.com>
Wed, 8 Apr 2020 19:16:43 +0000 (8 14:16 -0500)
tree62ce5d9b505843979fefd7acffd8c17a3a548bfb
parent2d78a286b682b34e8a718c521e265d58536f1e5e
HBASE-23723 Ensure MOB compaction works in optimized mode after snapshot clone (#1446)

* Reorganize MOB compaction tests for more reuse.
* Add tests for mob compaction after snapshot clone operations
* note the original table used to write a given mob hfile and use that to find it later.

Signed-off-by: Esteban Gutierrez <esteban@apache.org>
17 files changed:
hbase-common/src/main/java/org/apache/hadoop/hbase/PrivateCellUtil.java
hbase-common/src/main/java/org/apache/hadoop/hbase/TableName.java
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/DefaultMobStoreCompactor.java
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/DefaultMobStoreFlusher.java
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileCleanerChore.java
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobUtils.java
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HMobStore.java
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStoreFile.java
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileWriter.java
hbase-server/src/test/java/org/apache/hadoop/hbase/mob/FaultyMobStoreCompactor.java
hbase-server/src/test/java/org/apache/hadoop/hbase/mob/TestMobCompactionBase.java [deleted file]
hbase-server/src/test/java/org/apache/hadoop/hbase/mob/TestMobCompactionOptMode.java
hbase-server/src/test/java/org/apache/hadoop/hbase/mob/TestMobCompactionOptRegionBatchMode.java
hbase-server/src/test/java/org/apache/hadoop/hbase/mob/TestMobCompactionRegularMode.java [deleted file]
hbase-server/src/test/java/org/apache/hadoop/hbase/mob/TestMobCompactionRegularRegionBatchMode.java
hbase-server/src/test/java/org/apache/hadoop/hbase/mob/TestMobCompactionWithDefaults.java [new file with mode: 0644]