Class TestZKReplicationQueueStorage
java.lang.Object
org.apache.hadoop.hbase.replication.TestZKReplicationQueueStorage
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.replication.ZKReplicationQueueStorageprivate static final HBaseZKTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.replication.ZKReplicationQueueStorageprivate StringgetFileName(String base, int i) private org.apache.hadoop.hbase.ServerNamegetServerName(int i) static voidsetUp()static voidtearDown()voidvoidvoidvoidvoidvoidvoidvoidvoid
-
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.ReplicationExceptionorg.apache.zookeeper.KeeperExceptionIOException
-
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.ReplicationExceptionorg.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:
IOExceptionorg.apache.hadoop.hbase.replication.ReplicationException
-
testGetAllHFileRefsCversionChange
public void testGetAllHFileRefsCversionChange() throws IOException, org.apache.hadoop.hbase.replication.ReplicationException- Throws:
IOExceptionorg.apache.hadoop.hbase.replication.ReplicationException
-
testSetWALPositionBadVersion
public void testSetWALPositionBadVersion() throws IOException, org.apache.hadoop.hbase.replication.ReplicationException- Throws:
IOExceptionorg.apache.hadoop.hbase.replication.ReplicationException
-
testRegionsZNodeLayout
- Throws:
Exception
-
testRemoveAllLastPushedSeqIdsForPeer
- Throws:
Exception
-