Class TestCompactionArchiveConcurrentClose
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestCompactionArchiveConcurrentClose
Tests a race condition between archiving of compacted files in CompactedHFilesDischarger chore
and HRegion.close();
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
-
Field Summary
Modifier and TypeFieldDescriptionprivate AtomicBoolean
static final HBaseClassTestRule
org.junit.rules.TestName
private org.apache.hadoop.fs.Path
private HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.regionserver.HRegion
initHRegion
(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.RegionInfo info) void
setup()
void
tearDown()
void
-
Field Details
-
CLASS_RULE
-
testUtil
-
testDir
-
archived
-
name
-
-
Constructor Details
-
TestCompactionArchiveConcurrentClose
public TestCompactionArchiveConcurrentClose()
-
-
Method Details
-
setup
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testStoreCloseAndDischargeRunningInParallel
- Throws:
Exception
-
initHRegion
private org.apache.hadoop.hbase.regionserver.HRegion initHRegion(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.RegionInfo info) throws IOException - Throws:
IOException
-