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 |
org.junit.rules.TestName |
name |
private static byte[] |
QUALIFIER |
private static byte[] |
ROW |
protected static HBaseTestingUtility |
TEST_UTIL |
private static byte[] |
VALUE |
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
public final org.junit.rules.TestName name
protected static final HBaseTestingUtility TEST_UTIL
private static byte[] ROW
private static byte[] FAMILY
private static byte[] QUALIFIER
private static byte[] VALUE
public TestCatalogJanitorInMemoryStates()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testInMemoryParentCleanup() throws Exception
Exception
private List<org.apache.hadoop.hbase.HRegionLocation> splitRegion(org.apache.hadoop.hbase.client.RegionInfo r) throws Exception
r
- Region to split.Exception
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.