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
Exception
public void testFromClientSideWhileSplitting() throws Throwable
Throwable
public static void log(String msg)
public static void flushAndBlockUntilDone(Admin admin, HRegionServer rs, byte[] regionName) throws IOException, InterruptedException
IOException
InterruptedException
public static void compactAndBlockUntilDone(Admin admin, HRegionServer rs, byte[] regionName) throws IOException, InterruptedException
IOException
InterruptedException
public static void blockUntilRegionSplit(Configuration conf, long timeout, byte[] regionName, boolean waitForDaughters) throws IOException, InterruptedException
IOException
InterruptedException
public static void blockUntilRegionIsInMeta(Connection conn, long timeout, HRegionInfo hri) throws IOException, InterruptedException
IOException
InterruptedException
public static void blockUntilRegionIsOpened(Configuration conf, long timeout, HRegionInfo hri) throws IOException, InterruptedException
IOException
InterruptedException