public class TestNamespace extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Admin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
protected static HBaseCluster |
cluster |
org.junit.rules.TestName |
name |
protected static int |
NUM_SLAVES_BASE |
| Constructor and Description |
|---|
TestNamespace() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeMethod() |
void |
createDoubleTest() |
void |
createRemoveTest() |
void |
createTableInDefaultNamespace() |
void |
createTableInSystemNamespace() |
void |
createTableTest() |
static void |
setUp() |
static void |
tearDown() |
void |
testDeleteReservedNS() |
void |
testNamespaceOperations() |
void |
verifyReservedNS() |
public static final HBaseClassTestRule CLASS_RULE
protected static final int NUM_SLAVES_BASE
protected static HBaseCluster cluster
public org.junit.rules.TestName name
public TestNamespace()
public void beforeMethod() throws IOException
IOExceptionpublic void verifyReservedNS() throws IOException
IOExceptionpublic void testDeleteReservedNS() throws Exception
Exceptionpublic void createRemoveTest() throws Exception
Exceptionpublic void createDoubleTest() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void createTableTest() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void createTableInDefaultNamespace() throws Exception
Exceptionpublic void createTableInSystemNamespace() throws Exception
Exceptionpublic void testNamespaceOperations() throws IOException
IOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.