public class TestModifyNamespaceProcedure extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
protected static HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestModifyNamespaceProcedure() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanupTest() |
private void |
createNamespaceForTesting(org.apache.hadoop.hbase.NamespaceDescriptor nsDescriptor) |
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> |
getMasterProcedureExecutor() |
void |
setup() |
static void |
setupCluster() |
private static void |
setupConf(org.apache.hadoop.conf.Configuration conf) |
void |
tearDown() |
void |
testModifyNamespace() |
void |
testModifyNamespaceWithInvalidRegionCount() |
void |
testModifyNamespaceWithInvalidTableCount() |
void |
testModifyNonExistNamespace() |
void |
testRecoveryAndDoubleExecution() |
void |
testRollbackAndDoubleExecution() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
protected static final HBaseTestingUtility UTIL
public TestModifyNamespaceProcedure()
private static void setupConf(org.apache.hadoop.conf.Configuration conf)
public static void setupCluster() throws Exception
Exceptionpublic static void cleanupTest() throws Exception
Exceptionpublic void testModifyNamespace() throws Exception
Exceptionpublic void testModifyNonExistNamespace() throws Exception
Exceptionpublic void testModifyNamespaceWithInvalidRegionCount() throws Exception
Exceptionpublic void testModifyNamespaceWithInvalidTableCount() throws Exception
Exceptionpublic void testRecoveryAndDoubleExecution() throws Exception
Exceptionpublic void testRollbackAndDoubleExecution() throws Exception
Exceptionprivate org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> getMasterProcedureExecutor()
private void createNamespaceForTesting(org.apache.hadoop.hbase.NamespaceDescriptor nsDescriptor) throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.