public class TestReplicationTrackerZKImpl extends Object
Modifier and Type | Class and Description |
---|---|
private class |
TestReplicationTrackerZKImpl.DummyReplicationListener |
private class |
TestReplicationTrackerZKImpl.DummyServer |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static org.slf4j.Logger |
LOG |
private AtomicInteger |
peerRemovedCount |
private String |
peerRemovedData |
private AtomicInteger |
plChangedCount |
private List<String> |
plChangedData |
private org.apache.hadoop.hbase.replication.ReplicationPeers |
rp |
private AtomicInteger |
rsRemovedCount |
private String |
rsRemovedData |
private org.apache.hadoop.hbase.replication.ReplicationTracker |
rt |
private static HBaseTestingUtility |
utility |
private org.apache.hadoop.hbase.zookeeper.ZKWatcher |
zkw |
Constructor and Description |
---|
TestReplicationTrackerZKImpl() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testGetListOfRegionServers() |
void |
testPeerListChangedEvent() |
void |
testPeerNameControl() |
void |
testPeerRemovedEvent() |
void |
testRegionServerRemovedEvent() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static org.apache.hadoop.conf.Configuration conf
private static HBaseTestingUtility utility
private org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw
private org.apache.hadoop.hbase.replication.ReplicationPeers rp
private org.apache.hadoop.hbase.replication.ReplicationTracker rt
private AtomicInteger rsRemovedCount
private String rsRemovedData
private AtomicInteger plChangedCount
private List<String> plChangedData
private AtomicInteger peerRemovedCount
private String peerRemovedData
public TestReplicationTrackerZKImpl()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testGetListOfRegionServers() throws Exception
Exception
public void testRegionServerRemovedEvent() throws Exception
Exception
public void testPeerRemovedEvent() throws Exception
Exception
public void testPeerListChangedEvent() throws Exception
Exception
public void testPeerNameControl() throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.