Class TestDeleteNamespaceProcedure
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestDeleteNamespaceProcedure
@Tag("org.apache.hadoop.hbase.testclassification.MasterTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestDeleteNamespaceProcedure
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate Stringprotected static final HBaseTestingUtil -
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>voidsetTestMethod(org.junit.jupiter.api.TestInfo testInfo) voidsetup()static voidprivate static voidsetupConf(org.apache.hadoop.conf.Configuration conf) voidtearDown()voidvoidvoidvoidvoidvoidstatic voidvalidateNamespaceNotExist(String nsName)
-
Field Details
-
LOG
-
UTIL
-
testMethodName
-
-
Constructor Details
-
TestDeleteNamespaceProcedure
public TestDeleteNamespaceProcedure()
-
-
Method Details
-
setTestMethod
-
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
-