Class TestModifyNamespaceProcedure
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestModifyNamespaceProcedure
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
protected static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
private void
createNamespaceForTesting
(org.apache.hadoop.hbase.NamespaceDescriptor nsDescriptor) private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>
void
setup()
static void
private static void
setupConf
(org.apache.hadoop.conf.Configuration conf) void
tearDown()
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
-
Constructor Details
-
TestModifyNamespaceProcedure
public TestModifyNamespaceProcedure()
-
-
Method Details
-
setupConf
-
setupCluster
- Throws:
Exception
-
cleanupTest
- Throws:
Exception
-
setup
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testModifyNamespace
- Throws:
Exception
-
testModifyNonExistNamespace
- Throws:
Exception
-
testModifyNamespaceWithInvalidRegionCount
- Throws:
Exception
-
testModifyNamespaceWithInvalidTableCount
- Throws:
Exception
-
testRecoveryAndDoubleExecution
- Throws:
Exception
-
testRollbackAndDoubleExecution
- Throws:
Exception
-
getMasterProcedureExecutor
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> getMasterProcedureExecutor() -
createNamespaceForTesting
private void createNamespaceForTesting(org.apache.hadoop.hbase.NamespaceDescriptor nsDescriptor) throws Exception - Throws:
Exception
-