Package org.apache.hadoop.hbase
Class TestNamespace
java.lang.Object
org.apache.hadoop.hbase.TestNamespace
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.apache.hadoop.hbase.client.Adminstatic final HBaseClassTestRuleprotected static HBaseClusterprivate static final org.slf4j.Loggerprivate static org.apache.hadoop.hbase.master.HMasterorg.junit.rules.TestNameprotected static final intprivate Stringprivate static HBaseTestingUtilityprivate static org.apache.hadoop.hbase.ZKNamespaceManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidprivate static <V,E> void runWithExpectedException(Callable<V> callable, Class<E> exceptionClass) static voidsetUp()static voidtearDown()voidvoidvoid
-
Field Details
-
CLASS_RULE
-
LOG
-
master
-
NUM_SLAVES_BASE
- See Also:
-
TEST_UTIL
-
admin
-
cluster
-
zkNamespaceManager
-
prefix
-
name
-
-
Constructor Details
-
TestNamespace
public TestNamespace()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
beforeMethod
- Throws:
IOException
-
verifyReservedNS
- Throws:
IOException
-
testDeleteReservedNS
- Throws:
Exception
-
createRemoveTest
- Throws:
Exception
-
createDoubleTest
- Throws:
IOExceptionInterruptedException
-
createTableTest
- Throws:
IOExceptionInterruptedException
-
createTableInDefaultNamespace
- Throws:
Exception
-
createTableInSystemNamespace
- Throws:
Exception
-
testNamespaceOperations
- Throws:
IOException
-
runWithExpectedException
-