public class TestEndToEndSplitTransaction extends Object
| Constructor and Description |
|---|
TestEndToEndSplitTransaction() |
| Modifier and Type | Method and Description |
|---|---|
static void |
afterAllTests() |
static void |
beforeAllTests() |
static void |
blockUntilRegionIsInMeta(Connection conn,
long timeout,
HRegionInfo hri) |
static void |
blockUntilRegionIsOpened(Configuration conf,
long timeout,
HRegionInfo hri) |
static void |
blockUntilRegionSplit(Configuration conf,
long timeout,
byte[] regionName,
boolean waitForDaughters)
Blocks until the region split is complete in hbase:meta and region server opens the daughters
|
static void |
compactAndBlockUntilDone(Admin admin,
HRegionServer rs,
byte[] regionName) |
static void |
flushAndBlockUntilDone(Admin admin,
HRegionServer rs,
byte[] regionName) |
static void |
log(String msg) |
void |
testFromClientSideWhileSplitting()
Tests that the client sees meta table changes as atomic during splits
|
void |
testMasterOpsWhileSplitting() |
public void testMasterOpsWhileSplitting()
throws Exception
Exceptionpublic void testFromClientSideWhileSplitting()
throws Throwable
Throwablepublic static void log(String msg)
public static void flushAndBlockUntilDone(Admin admin, HRegionServer rs, byte[] regionName) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static void compactAndBlockUntilDone(Admin admin, HRegionServer rs, byte[] regionName) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static void blockUntilRegionSplit(Configuration conf,
long timeout,
byte[] regionName,
boolean waitForDaughters)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic static void blockUntilRegionIsInMeta(Connection conn, long timeout, HRegionInfo hri) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static void blockUntilRegionIsOpened(Configuration conf,
long timeout,
HRegionInfo hri)
throws IOException,
InterruptedException
IOExceptionInterruptedException