public class TestAdmin2
extends java.lang.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 static void setUpBeforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic static void tearDownAfterClass()
throws java.lang.Exception
java.lang.Exceptionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateBadTables()
throws java.io.IOException
java.io.IOExceptionpublic void testTableNameClash()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateTableRPCTimeOut()
throws java.lang.Exception
java.lang.Exceptionpublic void testReadOnlyTable()
throws java.lang.Exception
java.lang.Exceptionpublic void testTableNames()
throws java.io.IOException
java.io.IOExceptionpublic void testTableExistsExceptionWithATable()
throws java.io.IOException
java.io.IOExceptionpublic void testTableNotEnabledExceptionWithATable()
throws java.io.IOException
java.io.IOExceptionpublic void testTableNotDisabledExceptionWithATable()
throws java.io.IOException
java.io.IOExceptionpublic void testTableNotFoundExceptionWithoutAnyTables()
throws java.io.IOException
java.io.IOExceptionpublic void testShouldCloseTheRegionBasedOnTheEncodedRegionName()
throws java.lang.Exception
java.lang.Exceptionpublic void testCloseRegionIfInvalidRegionNameIsPassed()
throws java.lang.Exception
java.lang.Exceptionpublic void testCloseRegionThatFetchesTheHRIFromMeta()
throws java.lang.Exception
java.lang.Exceptionpublic void testCloseRegionWhenServerNameIsNull()
throws java.lang.Exception
java.lang.Exceptionpublic void testCloseRegionWhenServerNameIsEmpty()
throws java.lang.Exception
java.lang.Exceptionpublic void testCloseRegionWhenEncodedRegionNameIsNotGiven()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetTableRegions()
throws java.io.IOException
java.io.IOExceptionpublic void testWALRollWriting()
throws java.lang.Exception
java.lang.Exceptionpublic void testMoveToPreviouslyAssignedRS()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testCheckHBaseAvailableClosesConnection()
throws java.lang.Exception
java.lang.Exceptionpublic void testCheckHBaseAvailableWithoutCluster()
public void testDisableCatalogTable()
throws java.lang.Exception
java.lang.Exceptionpublic void testIsEnabledOrDisabledOnUnknownTable()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void testBalancer()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegionNormalizer()
throws java.lang.Exception
java.lang.Exceptionpublic void testAbortProcedureFail()
throws java.lang.Exception
java.lang.Exceptionpublic void testListProcedures()
throws java.lang.Exception
java.lang.Exception