public class TestZKReplicationQueueStorage extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.replication.ZKReplicationQueueStorage |
STORAGE |
private static HBaseZKTestingUtility |
UTIL |
Constructor and Description |
---|
TestZKReplicationQueueStorage() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.replication.ZKReplicationQueueStorage |
createWithUnstableVersion() |
private String |
getFileName(String base,
int i) |
private org.apache.hadoop.hbase.ServerName |
getServerName(int i) |
static void |
setUp() |
static void |
tearDown() |
void |
tearDownAfterTest() |
void |
testAddRemoveLog() |
void |
testClaimQueueChangeCversion() |
void |
testGetAllHFileRefsCversionChange() |
void |
testGetAllWALsCversionChange() |
void |
testRegionsZNodeLayout() |
void |
testRemoveAllLastPushedSeqIdsForPeer() |
void |
testReplicator() |
void |
testSetWALPositionBadVersion() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseZKTestingUtility UTIL
private static org.apache.hadoop.hbase.replication.ZKReplicationQueueStorage STORAGE
public TestZKReplicationQueueStorage()
public static void tearDown() throws IOException
IOException
public void tearDownAfterTest() throws org.apache.hadoop.hbase.replication.ReplicationException, org.apache.zookeeper.KeeperException, IOException
org.apache.hadoop.hbase.replication.ReplicationException
org.apache.zookeeper.KeeperException
IOException
private org.apache.hadoop.hbase.ServerName getServerName(int i)
public void testReplicator() throws org.apache.hadoop.hbase.replication.ReplicationException
org.apache.hadoop.hbase.replication.ReplicationException
private String getFileName(String base, int i)
public void testAddRemoveLog() throws org.apache.hadoop.hbase.replication.ReplicationException
org.apache.hadoop.hbase.replication.ReplicationException
public void testClaimQueueChangeCversion() throws org.apache.hadoop.hbase.replication.ReplicationException, org.apache.zookeeper.KeeperException
org.apache.hadoop.hbase.replication.ReplicationException
org.apache.zookeeper.KeeperException
private org.apache.hadoop.hbase.replication.ZKReplicationQueueStorage createWithUnstableVersion() throws IOException
IOException
public void testGetAllWALsCversionChange() throws IOException, org.apache.hadoop.hbase.replication.ReplicationException
IOException
org.apache.hadoop.hbase.replication.ReplicationException
public void testGetAllHFileRefsCversionChange() throws IOException, org.apache.hadoop.hbase.replication.ReplicationException
IOException
org.apache.hadoop.hbase.replication.ReplicationException
public void testSetWALPositionBadVersion() throws IOException, org.apache.hadoop.hbase.replication.ReplicationException
IOException
org.apache.hadoop.hbase.replication.ReplicationException
public void testRegionsZNodeLayout() throws Exception
Exception
public void testRemoveAllLastPushedSeqIdsForPeer() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.