Class TestZKReplicationQueueStorage
java.lang.Object
org.apache.hadoop.hbase.replication.TestZKReplicationQueueStorage
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.hbase.replication.ZKReplicationQueueStorage
private static final HBaseZKTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.replication.ZKReplicationQueueStorage
private String
getFileName
(String base, int i) private org.apache.hadoop.hbase.ServerName
getServerName
(int i) static void
setUp()
static void
tearDown()
void
void
void
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
UTIL
-
STORAGE
-
-
Constructor Details
-
TestZKReplicationQueueStorage
public TestZKReplicationQueueStorage()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
IOException
-
tearDownAfterTest
public void tearDownAfterTest() throws org.apache.hadoop.hbase.replication.ReplicationException, org.apache.zookeeper.KeeperException, IOException- Throws:
org.apache.hadoop.hbase.replication.ReplicationException
org.apache.zookeeper.KeeperException
IOException
-
getServerName
-
testReplicator
- Throws:
org.apache.hadoop.hbase.replication.ReplicationException
-
getFileName
-
testAddRemoveLog
- Throws:
org.apache.hadoop.hbase.replication.ReplicationException
-
testClaimQueueChangeCversion
public void testClaimQueueChangeCversion() throws org.apache.hadoop.hbase.replication.ReplicationException, org.apache.zookeeper.KeeperException- Throws:
org.apache.hadoop.hbase.replication.ReplicationException
org.apache.zookeeper.KeeperException
-
createWithUnstableVersion
private org.apache.hadoop.hbase.replication.ZKReplicationQueueStorage createWithUnstableVersion() throws IOException- Throws:
IOException
-
testGetAllWALsCversionChange
public void testGetAllWALsCversionChange() throws IOException, org.apache.hadoop.hbase.replication.ReplicationException- Throws:
IOException
org.apache.hadoop.hbase.replication.ReplicationException
-
testGetAllHFileRefsCversionChange
public void testGetAllHFileRefsCversionChange() throws IOException, org.apache.hadoop.hbase.replication.ReplicationException- Throws:
IOException
org.apache.hadoop.hbase.replication.ReplicationException
-
testSetWALPositionBadVersion
public void testSetWALPositionBadVersion() throws IOException, org.apache.hadoop.hbase.replication.ReplicationException- Throws:
IOException
org.apache.hadoop.hbase.replication.ReplicationException
-
testRegionsZNodeLayout
- Throws:
Exception
-
testRemoveAllLastPushedSeqIdsForPeer
- Throws:
Exception
-