public class TestDeleteNamespaceProcedure extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
protected static HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestDeleteNamespaceProcedure() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanupTest() |
private void |
createNamespaceForTesting(String namespaceName) |
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> |
getMasterProcedureExecutor() |
void |
setup() |
static void |
setupCluster() |
private static void |
setupConf(org.apache.hadoop.conf.Configuration conf) |
void |
tearDown() |
void |
testDeleteNamespace() |
void |
testDeleteNonEmptyNamespace() |
void |
testDeleteNonExistNamespace() |
void |
testDeleteSystemNamespace() |
void |
testRecoveryAndDoubleExecution() |
void |
testRollbackAndDoubleExecution() |
static void |
validateNamespaceNotExist(String nsName) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
protected static final HBaseTestingUtility UTIL
public org.junit.rules.TestName name
public TestDeleteNamespaceProcedure()
private static void setupConf(org.apache.hadoop.conf.Configuration conf)
public static void setupCluster() throws Exception
Exceptionpublic static void cleanupTest() throws Exception
Exceptionpublic void testDeleteNamespace() throws Exception
Exceptionpublic void testDeleteNonExistNamespace() throws Exception
Exceptionpublic void testDeleteSystemNamespace() throws Exception
Exceptionpublic void testDeleteNonEmptyNamespace() throws Exception
Exceptionpublic void testRecoveryAndDoubleExecution() throws Exception
Exceptionpublic void testRollbackAndDoubleExecution() throws Exception
Exceptionprivate org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> getMasterProcedureExecutor()
private void createNamespaceForTesting(String namespaceName) throws Exception
Exceptionpublic static void validateNamespaceNotExist(String nsName) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.