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
Exception
public static void cleanupTest() throws Exception
Exception
public void testDeleteNamespace() throws Exception
Exception
public void testDeleteNonExistNamespace() throws Exception
Exception
public void testDeleteSystemNamespace() throws Exception
Exception
public void testDeleteNonEmptyNamespace() throws Exception
Exception
public void testRecoveryAndDoubleExecution() throws Exception
Exception
public void testRollbackAndDoubleExecution() throws Exception
Exception
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> getMasterProcedureExecutor()
private void createNamespaceForTesting(String namespaceName) throws Exception
Exception
public static void validateNamespaceNotExist(String nsName) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.