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
Nested ClassesModifier and TypeClassDescriptionprivate class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AtomicBooleanstatic final HBaseClassTestRuleorg.junit.rules.TestNameprivate org.apache.hadoop.fs.Pathprivate HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.regionserver.HRegioninitHRegion(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.RegionInfo info) voidsetup()voidtearDown()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
-