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
IOException
public void testTableNameClash() throws Exception
Exception
public void testCreateTableRPCTimeOut() throws Exception
Exception
public void testReadOnlyTable() throws Exception
Exception
public void testTableNames() throws IOException
IOException
public void testTableExistsExceptionWithATable() throws IOException
IOException
public void testTableNotEnabledExceptionWithATable() throws IOException
IOException
public void testTableNotDisabledExceptionWithATable() throws IOException
IOException
public void testTableNotFoundExceptionWithoutAnyTables() throws IOException
IOException
public void testShouldCloseTheRegionBasedOnTheEncodedRegionName() throws Exception
Exception
public void testCloseRegionIfInvalidRegionNameIsPassed() throws Exception
Exception
public void testCloseRegionThatFetchesTheHRIFromMeta() throws Exception
Exception
public void testCloseRegionWhenServerNameIsNull() throws Exception
Exception
public void testCloseRegionWhenServerNameIsEmpty() throws Exception
Exception
public void testCloseRegionWhenEncodedRegionNameIsNotGiven() throws Exception
Exception
public void testGetTableRegions() throws IOException
IOException
public void testMoveToPreviouslyAssignedRS() throws IOException, InterruptedException
IOException
InterruptedException
public void testCheckHBaseAvailableClosesConnection() throws Exception
Exception
public void testCheckHBaseAvailableWithoutCluster()
public void testIsEnabledOrDisabledOnUnknownTable() throws Exception
Exception