public class TestCatalogJanitorInMemoryStates extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY |
private static org.slf4j.Logger |
LOG |
TableNameTestRule |
name |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestCatalogJanitorInMemoryStates() |
Modifier and Type | Method and Description |
---|---|
static void |
setUpBeforeClass() |
private List<org.apache.hadoop.hbase.HRegionLocation> |
splitRegion(org.apache.hadoop.hbase.client.RegionInfo r)
Splits a region
|
static void |
tearDownAfterClass() |
void |
testInMemoryParentCleanup()
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) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private static byte[] FAMILY
public final TableNameTestRule name
public TestCatalogJanitorInMemoryStates()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testInMemoryParentCleanup() throws IOException, InterruptedException, ExecutionException
private List<org.apache.hadoop.hbase.HRegionLocation> splitRegion(org.apache.hadoop.hbase.client.RegionInfo r) throws IOException, InterruptedException, ExecutionException
r
- Region to split.IOException
InterruptedException
ExecutionException
private org.apache.hadoop.hbase.util.PairOfSameType<org.apache.hadoop.hbase.client.RegionInfo> waitOnDaughters(org.apache.hadoop.hbase.client.RegionInfo r) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.