Class TestDeleteNamespaceProcedure
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestDeleteNamespaceProcedure
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
org.junit.rules.TestName
protected static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
private void
createNamespaceForTesting
(String namespaceName) 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
static void
validateNamespaceNotExist
(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
-