public class TestRegionServerNoMaster extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestRegionServerNoMaster() |
| Modifier and Type | Method and Description |
|---|---|
static void |
afterClass() |
static void |
before() |
static void |
checkRegionIsClosed(HBaseTestingUtility HTU,
HRegionServer rs,
HRegionInfo hri) |
static void |
checkRegionIsOpened(HBaseTestingUtility HTU,
HRegionServer rs,
HRegionInfo hri) |
static void |
closeRegion(HBaseTestingUtility HTU,
HRegionServer rs,
HRegionInfo hri) |
static void |
flushRegion(HBaseTestingUtility HTU,
HRegionInfo regionInfo)
Flush the given region in the mini cluster.
|
static void |
openRegion(HBaseTestingUtility HTU,
HRegionServer rs,
HRegionInfo hri) |
static void |
stopMasterAndAssignMeta(HBaseTestingUtility HTU) |
void |
testCancelOpeningWithoutZK()
Test that if we do a close while opening it stops the opening.
|
void |
testCloseByRegionServer() |
void |
testMultipleCloseFromMaster() |
void |
testOpenCloseRegionRPCIntendedForPreviousServer()
Tests an on-the-fly RPC that was scheduled for the earlier RS on the same port
for openRegion.
|
public static final HBaseClassTestRule CLASS_RULE
public TestRegionServerNoMaster()
public static void stopMasterAndAssignMeta(HBaseTestingUtility HTU) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static void flushRegion(HBaseTestingUtility HTU, HRegionInfo regionInfo) throws IOException
IOExceptionpublic static void afterClass() throws Exception
Exceptionpublic static void openRegion(HBaseTestingUtility HTU, HRegionServer rs, HRegionInfo hri) throws Exception
Exceptionpublic static void checkRegionIsOpened(HBaseTestingUtility HTU, HRegionServer rs, HRegionInfo hri) throws Exception
Exceptionpublic static void closeRegion(HBaseTestingUtility HTU, HRegionServer rs, HRegionInfo hri) throws Exception
Exceptionpublic static void checkRegionIsClosed(HBaseTestingUtility HTU, HRegionServer rs, HRegionInfo hri) throws Exception
Exceptionpublic void testCloseByRegionServer() throws Exception
Exceptionpublic void testMultipleCloseFromMaster() throws Exception
Exceptionpublic void testCancelOpeningWithoutZK() throws Exception
Exceptionpublic void testOpenCloseRegionRPCIntendedForPreviousServer() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.