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
Exceptionpublic void testZookeeperNodesForReplicas() throws Exception
Exceptionpublic void testShutdownHandling() throws Exception
Exceptionpublic static void shutdownMetaAndDoValidations(HBaseTestingUtility util) throws Exception
Exceptionpublic void testMetaLookupThreadPoolCreated() throws Exception
Exceptionpublic void testChangingReplicaCount() throws Exception
Exceptionprivate void stopMasterAndValidateReplicaCount(int originalReplicaCount, int newReplicaCount) throws Exception
Exceptionprivate Waiter.ExplainingPredicate<Exception> predicateMetaHasReplicas(int newReplicaCount)
@Nullable private String checkMetaLocationAndExplain(int originalReplicaCount) throws org.apache.zookeeper.KeeperException, IOException
org.apache.zookeeper.KeeperExceptionIOExceptionpublic void testHBaseFsckWithMetaReplicas() throws Exception
Exceptionpublic void testHBaseFsckWithFewerMetaReplicas() throws Exception
Exceptionpublic void testHBaseFsckWithFewerMetaReplicaZnodes() throws Exception
Exceptionpublic void testAccessingUnknownTables() throws Exception
Exceptionpublic void testMetaAddressChange() throws Exception
Exceptionpublic void testShutdownOfReplicaHolder() throws Exception
Exceptionpublic void testHBaseFsckWithExcessMetaReplicas() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.