public class TestRegionServerNoMaster extends Object
Constructor and Description |
---|
TestRegionServerNoMaster() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
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 |
testCancelOpeningWithZK()
Test an open then a close with ZK.
|
void |
testCloseByMasterWithoutZNode() |
void |
testCloseByRegionServer() |
void |
testMultipleCloseFromMaster() |
void |
testMultipleOpen()
Test that we can send multiple openRegion to the region server.
|
void |
testOpenCloseByMasterWithZNode() |
void |
testOpenCloseRegionRPCIntendedForPreviousServer()
Tests an on-the-fly RPC that was scheduled for the earlier RS on the same port
for openRegion.
|
void |
testOpenClosingRegion() |
public static void stopMasterAndAssignMeta(HBaseTestingUtility HTU) throws NodeExistsException, KeeperException, IOException, InterruptedException
NodeExistsException
KeeperException
IOException
InterruptedException
public static void flushRegion(HBaseTestingUtility HTU, HRegionInfo regionInfo) throws IOException
IOException
public static void openRegion(HBaseTestingUtility HTU, HRegionServer rs, HRegionInfo hri) throws Exception
Exception
public static void checkRegionIsOpened(HBaseTestingUtility HTU, HRegionServer rs, HRegionInfo hri) throws Exception
Exception
public static void closeRegion(HBaseTestingUtility HTU, HRegionServer rs, HRegionInfo hri) throws Exception
Exception
public static void checkRegionIsClosed(HBaseTestingUtility HTU, HRegionServer rs, HRegionInfo hri) throws Exception
Exception
public void testCloseByMasterWithoutZNode() throws Exception
Exception
public void testOpenCloseByMasterWithZNode() throws Exception
Exception
public void testMultipleOpen() throws Exception
Exception
public void testMultipleCloseFromMaster() throws Exception
Exception
public void testCancelOpeningWithoutZK() throws Exception
Exception
public void testCancelOpeningWithZK() throws Exception
Exception