public class TestModifyNamespaceProcedure extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
protected static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
TestModifyNamespaceProcedure() |
Modifier and Type | Method and Description |
---|---|
static void |
cleanupTest() |
private void |
createNamespaceForTesting(org.apache.hadoop.hbase.NamespaceDescriptor nsDescriptor) |
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 |
testModifyNamespace() |
void |
testModifyNamespaceWithInvalidRegionCount() |
void |
testModifyNamespaceWithInvalidTableCount() |
void |
testModifyNonExistNamespace() |
void |
testRecoveryAndDoubleExecution() |
void |
testRollbackAndDoubleExecution() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
protected static final HBaseTestingUtility UTIL
public TestModifyNamespaceProcedure()
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 testModifyNamespace() throws Exception
Exception
public void testModifyNonExistNamespace() throws Exception
Exception
public void testModifyNamespaceWithInvalidRegionCount() throws Exception
Exception
public void testModifyNamespaceWithInvalidTableCount() 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(org.apache.hadoop.hbase.NamespaceDescriptor nsDescriptor) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.