public class TestAdmin2 extends Object
| 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 |
testCheckHBaseAvailableClosesConnection()
HBASE-4417 checkHBaseAvailable() doesn't close zk connections
|
void |
testCheckHBaseAvailableWithoutCluster()
Check that we have an exception if the cluster is not there.
|
void |
testCloseRegionIfInvalidRegionNameIsPassed() |
void |
testCloseRegionThatFetchesTheHRIFromMeta() |
void |
testCloseRegionWhenEncodedRegionNameIsNotGiven() |
void |
testCloseRegionWhenServerNameIsEmpty() |
void |
testCloseRegionWhenServerNameIsNull() |
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 |
testDisableCatalogTable() |
void |
testGetRegion() |
void |
testGetTableRegions()
For HBASE-2556
|
void |
testIsEnabledOrDisabledOnUnknownTable() |
void |
testListProcedures() |
void |
testMoveToPreviouslyAssignedRS() |
void |
testReadOnlyTable()
Test read only tables
|
void |
testRegionNormalizer() |
void |
testShouldCloseTheRegionBasedOnTheEncodedRegionName() |
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 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 testShouldCloseTheRegionBasedOnTheEncodedRegionName()
throws Exception
Exceptionpublic void testCloseRegionIfInvalidRegionNameIsPassed()
throws Exception
Exceptionpublic void testCloseRegionThatFetchesTheHRIFromMeta()
throws Exception
Exceptionpublic void testCloseRegionWhenServerNameIsNull()
throws Exception
Exceptionpublic void testCloseRegionWhenServerNameIsEmpty()
throws Exception
Exceptionpublic void testCloseRegionWhenEncodedRegionNameIsNotGiven()
throws Exception
Exceptionpublic void testGetTableRegions()
throws IOException
IOExceptionpublic void testMoveToPreviouslyAssignedRS()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testCheckHBaseAvailableClosesConnection()
throws Exception
Exceptionpublic void testCheckHBaseAvailableWithoutCluster()
public void testIsEnabledOrDisabledOnUnknownTable()
throws Exception
Exception