public class TestAdmin2 extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
| Constructor and Description |
|---|
TestAdmin2() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testAbortProcedureFail() |
void |
testBalancer() |
void |
testCheckHBaseAvailableWithoutCluster()
Check that we have an exception if the cluster is not there.
|
void |
testCloseRegionIfInvalidRegionNameIsPassed() |
void |
testCloseRegionThatFetchesTheHRIFromMeta() |
void |
testCreateBadTables() |
void |
testCreateTableRPCTimeOut()
HMaster.createTable used to be kind of synchronous call
Thus creating of table with lots of regions can cause RPC timeout
After the fix to make createTable truly async, RPC timeout shouldn't be an
issue anymore
|
void |
testDecommissionRegionServers() |
void |
testDisableCatalogTable() |
void |
testGetLocks() |
void |
testGetProcedures() |
void |
testGetRegion() |
void |
testGetRegionInfo()
TestCase for HBASE-21355
|
void |
testGetTableRegions()
For HBASE-2556
|
void |
testIsEnabledOrDisabledOnUnknownTable() |
void |
testMoveToPreviouslyAssignedRS() |
void |
testReadOnlyTable()
Test read only tables
|
void |
testRegionNormalizer() |
void |
testShouldUnassignTheRegion() |
void |
testTableExistsExceptionWithATable()
For HADOOP-2579
|
void |
testTableNameClash()
Test for hadoop-1581 'HBASE: Unopenable tablename bug'.
|
void |
testTableNames()
Test that user table names can contain '-' and '.' so long as they do not
start with same.
|
void |
testTableNotDisabledExceptionWithATable()
Can't enable a table if the table isn't in disabled state
|
void |
testTableNotEnabledExceptionWithATable()
Can't disable a table if the table isn't in enabled state
|
void |
testTableNotFoundExceptionWithoutAnyTables()
For HADOOP-2579
|
void |
testWALRollWriting() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
public TestAdmin2()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testCreateBadTables() throws IOException
IOExceptionpublic void testTableNameClash() throws Exception
Exceptionpublic void testCreateTableRPCTimeOut() throws Exception
Exceptionpublic void testReadOnlyTable() throws Exception
Exceptionpublic void testTableNames() throws IOException
IOExceptionpublic void testTableExistsExceptionWithATable() throws IOException
IOExceptionpublic void testTableNotEnabledExceptionWithATable() throws IOException
IOExceptionpublic void testTableNotDisabledExceptionWithATable() throws IOException
IOExceptionpublic void testTableNotFoundExceptionWithoutAnyTables() throws IOException
IOExceptionpublic void testShouldUnassignTheRegion() throws Exception
Exceptionpublic void testCloseRegionIfInvalidRegionNameIsPassed() throws Exception
Exceptionpublic void testCloseRegionThatFetchesTheHRIFromMeta() throws Exception
Exceptionpublic void testGetTableRegions() throws IOException
IOExceptionpublic void testMoveToPreviouslyAssignedRS() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testWALRollWriting() throws Exception
Exceptionpublic void testCheckHBaseAvailableWithoutCluster()
public void testDisableCatalogTable() throws Exception
Exceptionpublic void testIsEnabledOrDisabledOnUnknownTable() throws Exception
Exceptionpublic void testGetRegion() throws Exception
Exceptionpublic void testBalancer() throws Exception
Exceptionpublic void testRegionNormalizer() throws Exception
Exceptionpublic void testAbortProcedureFail() throws Exception
Exceptionpublic void testGetProcedures() throws Exception
Exceptionpublic void testGetLocks() throws Exception
Exceptionpublic void testDecommissionRegionServers() throws Exception
Exceptionpublic void testGetRegionInfo() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.