public class TestMetaWithReplicas extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static int |
REGIONSERVERS_COUNT |
private HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestMetaWithReplicas() |
Modifier and Type | Method and Description |
---|---|
private String |
checkMetaLocationAndExplain(int originalReplicaCount) |
private Waiter.ExplainingPredicate<Exception> |
predicateMetaHasReplicas(int newReplicaCount) |
void |
setup() |
static void |
shutdownMetaAndDoValidations(HBaseTestingUtility util) |
private void |
stopMasterAndValidateReplicaCount(int originalReplicaCount,
int newReplicaCount) |
void |
tearDown() |
void |
testAccessingUnknownTables() |
void |
testChangingReplicaCount() |
void |
testHBaseFsckWithExcessMetaReplicas() |
void |
testHBaseFsckWithFewerMetaReplicas() |
void |
testHBaseFsckWithFewerMetaReplicaZnodes() |
void |
testHBaseFsckWithMetaReplicas() |
void |
testMetaAddressChange() |
void |
testMetaHTDReplicaCount() |
void |
testMetaLookupThreadPoolCreated() |
void |
testShutdownHandling() |
void |
testShutdownOfReplicaHolder() |
void |
testZookeeperNodesForReplicas() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private final HBaseTestingUtility TEST_UTIL
private static final int REGIONSERVERS_COUNT
public org.junit.rules.TestName name
public TestMetaWithReplicas()
public void testMetaHTDReplicaCount() throws Exception
Exception
public void testZookeeperNodesForReplicas() throws Exception
Exception
public void testShutdownHandling() throws Exception
Exception
public static void shutdownMetaAndDoValidations(HBaseTestingUtility util) throws Exception
Exception
public void testMetaLookupThreadPoolCreated() throws Exception
Exception
public void testChangingReplicaCount() throws Exception
Exception
private void stopMasterAndValidateReplicaCount(int originalReplicaCount, int newReplicaCount) throws Exception
Exception
private Waiter.ExplainingPredicate<Exception> predicateMetaHasReplicas(int newReplicaCount)
@Nullable private String checkMetaLocationAndExplain(int originalReplicaCount) throws org.apache.zookeeper.KeeperException, IOException
org.apache.zookeeper.KeeperException
IOException
public void testHBaseFsckWithMetaReplicas() throws Exception
Exception
public void testHBaseFsckWithFewerMetaReplicas() throws Exception
Exception
public void testHBaseFsckWithFewerMetaReplicaZnodes() throws Exception
Exception
public void testAccessingUnknownTables() throws Exception
Exception
public void testMetaAddressChange() throws Exception
Exception
public void testShutdownOfReplicaHolder() throws Exception
Exception
public void testHBaseFsckWithExcessMetaReplicas() throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.