Class TestCreateNamespaceProcedure
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestCreateNamespaceProcedure
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.Loggerprotected static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprivate org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>voidsetup()static voidprivate static voidsetupConf(org.apache.hadoop.conf.Configuration conf) voidtearDown()voidvoidvoidvoidvoidvoidvoidprivate voidvalidateNamespaceCreated(org.apache.hadoop.hbase.NamespaceDescriptor nsd)
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
-
Constructor Details
-
TestCreateNamespaceProcedure
public TestCreateNamespaceProcedure()
-
-
Method Details
-
setupConf
-
setupCluster
- Throws:
Exception
-
cleanupTest
- Throws:
Exception
-
setup
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testCreateNamespace
- Throws:
Exception
-
testCreateSameNamespaceTwice
- Throws:
Exception
-
testCreateSystemNamespace
- Throws:
Exception
-
testCreateNamespaceWithInvalidRegionCount
- Throws:
Exception
-
testCreateNamespaceWithInvalidTableCount
- Throws:
Exception
-
testRecoveryAndDoubleExecution
- Throws:
Exception
-
testRollbackAndDoubleExecution
- Throws:
Exception
-
getMasterProcedureExecutor
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> getMasterProcedureExecutor() -
validateNamespaceCreated
private void validateNamespaceCreated(org.apache.hadoop.hbase.NamespaceDescriptor nsd) throws IOException - Throws:
IOException
-