Class TestDeleteNamespaceProcedure
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestDeleteNamespaceProcedure
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.Loggerorg.junit.rules.TestNameprotected static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprivate voidcreateNamespaceForTesting(String namespaceName) private 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()voidvoidvoidvoidvoidvoidstatic voidvalidateNamespaceNotExist(String nsName)
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
name
-
-
Constructor Details
-
TestDeleteNamespaceProcedure
public TestDeleteNamespaceProcedure()
-
-
Method Details
-
setupConf
-
setupCluster
- Throws:
Exception
-
cleanupTest
- Throws:
Exception
-
setup
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testDeleteNamespace
- Throws:
Exception
-
testDeleteNonExistNamespace
- Throws:
Exception
-
testDeleteSystemNamespace
- Throws:
Exception
-
testDeleteNonEmptyNamespace
- 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
- Throws:
Exception
-
validateNamespaceNotExist
- Throws:
IOException
-