Class TestCreateNamespaceProcedure
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestCreateNamespaceProcedure
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
protected static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
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
void
private void
validateNamespaceCreated
(org.apache.hadoop.hbase.NamespaceDescriptor nsd)
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
-
Constructor Details
-
TestCreateNamespaceProcedure
public TestCreateNamespaceProcedure()
-
-
Method Details
-
setupConf
-
setupCluster
- Throws:
Exception
-
cleanupTest
- Throws:
Exception
-
setup
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testCreateNamespace
- Throws:
Exception
-
testCreateSameNamespaceTwice
- Throws:
Exception
-
testCreateSystemNamespace
- Throws:
Exception
-
testCreateNamespaceWithInvalidRegionCount
- Throws:
Exception
-
testCreateNamespaceWithInvalidTableCount
- Throws:
Exception
-
testRecoveryAndDoubleExecution
- Throws:
Exception
-
testRollbackAndDoubleExecution
- Throws:
Exception
-
getMasterProcedureExecutor
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> getMasterProcedureExecutor() -
validateNamespaceCreated
private void validateNamespaceCreated(org.apache.hadoop.hbase.NamespaceDescriptor nsd) throws IOException - Throws:
IOException
-