Package org.apache.hadoop.hbase
Class TestNamespace
java.lang.Object
org.apache.hadoop.hbase.TestNamespace
@Tag("org.apache.hadoop.hbase.testclassification.MiscTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestNamespace
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.apache.hadoop.hbase.client.Adminprotected static HBaseClusterInterfaceprivate static final org.slf4j.Loggerprivate static org.apache.hadoop.hbase.master.HMasterprotected static final intprivate Stringprivate static HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcreateDoubleTest(org.junit.jupiter.api.TestInfo testInfo) voidcreateRemoveTest(org.junit.jupiter.api.TestInfo testInfo) voidcreateTableInDefaultNamespace(org.junit.jupiter.api.TestInfo testInfo) voidcreateTableInSystemNamespace(org.junit.jupiter.api.TestInfo testInfo) voidcreateTableTest(org.junit.jupiter.api.TestInfo testInfo) private static <V,E> void runWithExpectedException(Callable<V> callable, Class<E> exceptionClass) static voidsetUp()static voidtearDown()voidvoidtestNamespaceOperations(org.junit.jupiter.api.TestInfo testInfo) void
-
Field Details
-
LOG
-
master
-
NUM_SLAVES_BASE
- See Also:
-
TEST_UTIL
-
admin
-
cluster
-
prefix
-
-
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
@Test public void createDoubleTest(org.junit.jupiter.api.TestInfo testInfo) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
createTableTest
@Test public void createTableTest(org.junit.jupiter.api.TestInfo testInfo) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
createTableInDefaultNamespace
@Test public void createTableInDefaultNamespace(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-
createTableInSystemNamespace
@Test public void createTableInSystemNamespace(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-
testNamespaceOperations
@Test public void testNamespaceOperations(org.junit.jupiter.api.TestInfo testInfo) throws IOException - Throws:
IOException
-
runWithExpectedException
-