Package org.apache.hadoop.hbase
Class TestNamespace
java.lang.Object
org.apache.hadoop.hbase.TestNamespace
-
Field Summary
Modifier and TypeFieldDescriptionprotected static org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
protected static HBaseCluster
private static final org.slf4j.Logger
private static org.apache.hadoop.hbase.master.HMaster
org.junit.rules.TestName
protected static final int
private String
private static HBaseTestingUtility
private static org.apache.hadoop.hbase.ZKNamespaceManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
private static <V,
E> void runWithExpectedException
(Callable<V> callable, Class<E> exceptionClass) static void
setUp()
static void
tearDown()
void
void
void
-
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:
IOException
InterruptedException
-
createTableTest
- Throws:
IOException
InterruptedException
-
createTableInDefaultNamespace
- Throws:
Exception
-
createTableInSystemNamespace
- Throws:
Exception
-
testNamespaceOperations
- Throws:
IOException
-
runWithExpectedException
-