Class TestCatalogJanitorInMemoryStates
java.lang.Object
org.apache.hadoop.hbase.master.janitor.TestCatalogJanitorInMemoryStates
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static byte[]
private static final org.slf4j.Logger
final TableNameTestRule
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
private List<org.apache.hadoop.hbase.HRegionLocation>
splitRegion
(org.apache.hadoop.hbase.client.RegionInfo r) Splits a regionstatic void
void
Test clearing a split parent from memory.private org.apache.hadoop.hbase.util.PairOfSameType<org.apache.hadoop.hbase.client.RegionInfo>
waitOnDaughters
(org.apache.hadoop.hbase.client.RegionInfo r)
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
FAMILY
-
name
-
-
Constructor Details
-
TestCatalogJanitorInMemoryStates
public TestCatalogJanitorInMemoryStates()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testInMemoryParentCleanup
public void testInMemoryParentCleanup() throws IOException, InterruptedException, ExecutionExceptionTest clearing a split parent from memory. -
splitRegion
private List<org.apache.hadoop.hbase.HRegionLocation> splitRegion(org.apache.hadoop.hbase.client.RegionInfo r) throws IOException, InterruptedException, ExecutionException Splits a region- Parameters:
r
- Region to split.- Returns:
- List of region locations
- Throws:
IOException
InterruptedException
ExecutionException
-
waitOnDaughters
private org.apache.hadoop.hbase.util.PairOfSameType<org.apache.hadoop.hbase.client.RegionInfo> waitOnDaughters(org.apache.hadoop.hbase.client.RegionInfo r) throws IOException - Throws:
IOException
-