public class TestCatalogJanitorCluster extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static org.apache.hadoop.hbase.TableName |
T1 |
private static org.apache.hadoop.hbase.TableName |
T2 |
private static org.apache.hadoop.hbase.TableName |
T3 |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestCatalogJanitorCluster() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
before() |
private static byte[] |
incrementRow(byte[] row)
Take last byte and add one to it.
|
void |
testConsistency()
Fat method where we start with a fat hbase:meta and then gradually intro
problems running catalogjanitor for each to ensure it triggers complaint.
|
private static final org.slf4j.Logger LOG
public static final HBaseClassTestRule CLASS_RULE
public final org.junit.rules.TestName name
private static final HBaseTestingUtility TEST_UTIL
private static final org.apache.hadoop.hbase.TableName T1
private static final org.apache.hadoop.hbase.TableName T2
private static final org.apache.hadoop.hbase.TableName T3
public TestCatalogJanitorCluster()
public void testConsistency() throws IOException
IOException
private static byte[] incrementRow(byte[] row)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.