public class TestAsyncNamespaceAdminApi extends TestAsyncAdminBase
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.master.HMaster |
master |
private String |
prefix |
private static org.apache.hadoop.hbase.ZKNamespaceManager |
zkNamespaceManager |
Constructor and Description |
---|
TestAsyncNamespaceAdminApi() |
Modifier and Type | Method and Description |
---|---|
private static <V,E> void |
runWithExpectedException(Callable<V> callable,
Class<E> exceptionClass) |
static void |
setUpBeforeClass() |
void |
testCreateAndDelete() |
void |
testDeleteReservedNS() |
void |
testNamespaceOperations() |
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, tearDown, tearDownAfterClass
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
public static final HBaseClassTestRule CLASS_RULE
private static org.apache.hadoop.hbase.master.HMaster master
private static org.apache.hadoop.hbase.ZKNamespaceManager zkNamespaceManager
public TestAsyncNamespaceAdminApi()
public static void setUpBeforeClass() throws Exception
Exception
public void testCreateAndDelete() throws Exception
Exception
public void testDeleteReservedNS() throws Exception
Exception
public void testNamespaceOperations() throws Exception
Exception
private static <V,E> void runWithExpectedException(Callable<V> callable, Class<E> exceptionClass)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.