public class TestSplitTransactionOnCluster extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestSplitTransactionOnCluster.FailingSplitMasterObserver |
static class |
TestSplitTransactionOnCluster.MyMaster |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
| Constructor and Description |
|---|
TestSplitTransactionOnCluster() |
| Modifier and Type | Method and Description |
|---|---|
static void |
after() |
static void |
before() |
void |
setup() |
void |
tearDown() |
void |
testMasterRestartAtRegionSplitPendingCatalogJanitor()
Verifies HBASE-5806.
|
void |
testRITStateForRollback() |
void |
testShutdownFixupWhenDaughterHasSplit()
Test that if daughter split on us, we won't do the shutdown handler fixup
just because we can't find the immediate daughter of an offlined parent.
|
void |
testSplitFailedCompactionAndSplit() |
void |
testSplitRegionWithNoStoreFiles()
If a table has regions that have no store files in a region, they should split successfully
into two regions with no store files.
|
void |
testSplitRollbackOnRegionClosing() |
void |
testSplitShouldNotThrowNPEEvenARegionHasEmptySplitFiles() |
void |
testSplitWithRegionReplicas() |
void |
testStoreFileReferenceCreationWhenSplitPolicySaysToSkipRangeCheck() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
public TestSplitTransactionOnCluster()
public void setup() throws IOException
IOExceptionpublic void testRITStateForRollback() throws Exception
Exceptionpublic void testSplitFailedCompactionAndSplit() throws Exception
Exceptionpublic void testSplitRollbackOnRegionClosing() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testShutdownFixupWhenDaughterHasSplit() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testSplitShouldNotThrowNPEEvenARegionHasEmptySplitFiles() throws Exception
Exceptionpublic void testMasterRestartAtRegionSplitPendingCatalogJanitor() throws IOException, InterruptedException, org.apache.zookeeper.KeeperException.NodeExistsException, org.apache.zookeeper.KeeperException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
IOExceptionInterruptedExceptionorg.apache.zookeeper.KeeperException.NodeExistsExceptionorg.apache.zookeeper.KeeperExceptionorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionpublic void testSplitWithRegionReplicas() throws Exception
Exceptionpublic void testSplitRegionWithNoStoreFiles() throws Exception
Exceptionpublic void testStoreFileReferenceCreationWhenSplitPolicySaysToSkipRangeCheck() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.