Package org.apache.hadoop.hbase.master
Class TestMetaShutdownHandler
java.lang.Object
org.apache.hadoop.hbase.master.TestMetaShutdownHandler
Tests handling of meta-carrying region server failover.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) static final org.apache.hadoop.conf.Configuration
private static final org.slf4j.Logger
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
void
This test will test the expire handling of a meta-carrying region server.
-
Field Details
-
LOG
-
CLASS_RULE
-
TEST_UTIL
-
conf
-
-
Constructor Details
-
TestMetaShutdownHandler
public TestMetaShutdownHandler()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testExpireMetaRegionServer
This test will test the expire handling of a meta-carrying region server. After HBaseMiniCluster is up, we will delete the ephemeral node of the meta-carrying region server, which will trigger the expire of this region server on the master. On the other hand, we will slow down the abort process on the region server so that it is still up during the master SSH. We will check that the master SSH is still successfully done.- Throws:
Exception
-