public class TestSeparateClientZKCluster extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster |
clientZkCluster |
private static File |
clientZkDir |
private byte[] |
family |
private static org.slf4j.Logger |
LOG |
TableNameTestRule |
name |
private byte[] |
newVal |
private byte[] |
qualifier |
private byte[] |
row |
private static HBaseTestingUtility |
TEST_UTIL |
private byte[] |
value |
private static int |
ZK_SESSION_TIMEOUT |
Constructor and Description |
---|
TestSeparateClientZKCluster() |
Modifier and Type | Method and Description |
---|---|
static void |
afterAllTests() |
static void |
beforeAllTests() |
void |
setUp() |
void |
testAsyncTable() |
void |
testBasicOperation() |
void |
testChangeMetaReplicaCount() |
void |
testMasterSwitch() |
void |
testMetaMoveDuringClientZkClusterRestart() |
void |
testMetaRegionMove() |
private void |
waitForNewMasterUpAndAddressSynced(org.apache.hadoop.hbase.client.Admin admin) |
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private static final File clientZkDir
private static final int ZK_SESSION_TIMEOUT
private static org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster clientZkCluster
private final byte[] family
private final byte[] qualifier
private final byte[] row
private final byte[] value
private final byte[] newVal
public TableNameTestRule name
public static final HBaseClassTestRule CLASS_RULE
public TestSeparateClientZKCluster()
public static void beforeAllTests() throws Exception
Exception
public static void afterAllTests() throws Exception
Exception
public void setUp() throws IOException
IOException
private void waitForNewMasterUpAndAddressSynced(org.apache.hadoop.hbase.client.Admin admin)
public void testBasicOperation() throws Exception
Exception
public void testMasterSwitch() throws Exception
Exception
public void testMetaRegionMove() throws Exception
Exception
public void testMetaMoveDuringClientZkClusterRestart() throws Exception
Exception
public void testAsyncTable() throws Exception
Exception
public void testChangeMetaReplicaCount() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.