public class TestHBaseFsckCleanReplicationBarriers extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static String |
COLUMN_FAMILY |
private static String |
PEER_1 |
private static String |
PEER_2 |
private static org.apache.hadoop.hbase.replication.ReplicationQueueStorage |
QUEUE_STORAGE |
private static String |
TABLE_NAME |
private static HBaseTestingUtility |
UTIL |
private static String |
WAL_FILE_NAME |
Constructor and Description |
---|
TestHBaseFsckCleanReplicationBarriers() |
Modifier and Type | Method and Description |
---|---|
private void |
addStateAndBarrier(org.apache.hadoop.hbase.client.RegionInfo region,
org.apache.hadoop.hbase.master.RegionState.State state,
long... barriers) |
static void |
createPeer() |
static void |
setUp() |
static void |
tearDown() |
void |
testCleanReplicationBarrierWithDeletedTable() |
void |
testCleanReplicationBarrierWithExistTable() |
void |
testCleanReplicationBarrierWithNonExistTable() |
private void |
updatePushedSeqId(org.apache.hadoop.hbase.client.RegionInfo region,
long seqId) |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility UTIL
private static org.apache.hadoop.hbase.replication.ReplicationQueueStorage QUEUE_STORAGE
private static String WAL_FILE_NAME
private static String TABLE_NAME
private static String COLUMN_FAMILY
public TestHBaseFsckCleanReplicationBarriers()
public void testCleanReplicationBarrierWithNonExistTable() throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
public void testCleanReplicationBarrierWithDeletedTable() throws Exception
Exception
public void testCleanReplicationBarrierWithExistTable() throws Exception
Exception
public static void createPeer() throws IOException
IOException
private void addStateAndBarrier(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.master.RegionState.State state, long... barriers) throws IOException
IOException
private void updatePushedSeqId(org.apache.hadoop.hbase.client.RegionInfo region, long seqId) throws org.apache.hadoop.hbase.replication.ReplicationException
org.apache.hadoop.hbase.replication.ReplicationException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.