Package org.apache.hadoop.hbase.util
Class TestHBaseFsckCleanReplicationBarriers
java.lang.Object
org.apache.hadoop.hbase.util.TestHBaseFsckCleanReplicationBarriers
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static String
private static String
private static String
private static org.apache.hadoop.hbase.replication.ReplicationQueueStorage
private static String
private static final HBaseTestingUtility
private static String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addStateAndBarrier
(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.master.RegionState.State state, long... barriers) static void
static void
setUp()
static void
tearDown()
void
void
void
private void
updatePushedSeqId
(org.apache.hadoop.hbase.client.RegionInfo region, long seqId)
-
Field Details
-
CLASS_RULE
-
UTIL
-
PEER_1
-
PEER_2
-
QUEUE_STORAGE
-
WAL_FILE_NAME
-
TABLE_NAME
-
COLUMN_FAMILY
-
-
Constructor Details
-
TestHBaseFsckCleanReplicationBarriers
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testCleanReplicationBarrierWithNonExistTable
public void testCleanReplicationBarrierWithNonExistTable() throws ClassNotFoundException, IOException- Throws:
ClassNotFoundException
IOException
-
testCleanReplicationBarrierWithDeletedTable
- Throws:
Exception
-
testCleanReplicationBarrierWithExistTable
- Throws:
Exception
-
createPeer
- Throws:
IOException
-
addStateAndBarrier
private void addStateAndBarrier(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.master.RegionState.State state, long... barriers) throws IOException - Throws:
IOException
-
updatePushedSeqId
private void updatePushedSeqId(org.apache.hadoop.hbase.client.RegionInfo region, long seqId) throws org.apache.hadoop.hbase.replication.ReplicationException - Throws:
org.apache.hadoop.hbase.replication.ReplicationException
-