Package org.apache.hadoop.hbase.client
Class TestAdmin
java.lang.Object
org.apache.hadoop.hbase.client.TestAdminBase
org.apache.hadoop.hbase.client.TestAdmin
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
Fields inherited from class org.apache.hadoop.hbase.client.TestAdminBase
ADMIN, name, NB_SERVERS, TEST_UTIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
private void
testCloneTableSchema
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.TableName newTableName, boolean preserveSplits) void
void
void
void
void
void
void
void
void
void
Verify schema modification takes.void
private void
testTruncateTable
(org.apache.hadoop.hbase.TableName tableName, boolean preserveSplits) void
void
private void
verifyRoundRobinDistribution
(org.apache.hadoop.hbase.client.RegionLocator regionLocator, int expectedRegions) Methods inherited from class org.apache.hadoop.hbase.client.TestAdminBase
getStateFromMeta, setUpBeforeClass, tearDown, tearDownAfterClass
-
Field Details
-
CLASS_RULE
-
LOG
-
-
Constructor Details
-
TestAdmin
public TestAdmin()
-
-
Method Details
-
testCreateTable
- Throws:
IOException
-
testTruncateTable
- Throws:
IOException
-
testTruncateTablePreservingSplits
- Throws:
IOException
-
testTruncateTable
private void testTruncateTable(org.apache.hadoop.hbase.TableName tableName, boolean preserveSplits) throws IOException - Throws:
IOException
-
testCreateTableNumberOfRegions
- Throws:
IOException
InterruptedException
-
testCreateTableWithRegions
- Throws:
IOException
InterruptedException
-
testCreateTableWithOnlyEmptyStartRow
- Throws:
IOException
-
testCreateTableWithEmptyRowInTheSplitKeys
- Throws:
IOException
-
verifyRoundRobinDistribution
private void verifyRoundRobinDistribution(org.apache.hadoop.hbase.client.RegionLocator regionLocator, int expectedRegions) throws IOException - Throws:
IOException
-
testCloneTableSchema
- Throws:
Exception
-
testCloneTableSchemaPreservingSplits
- Throws:
Exception
-
testCloneTableSchema
private void testCloneTableSchema(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.TableName newTableName, boolean preserveSplits) throws Exception - Throws:
Exception
-
testCloneTableSchemaWithNonExistentSourceTable
- Throws:
Exception
-
testCloneTableSchemaWithExistentDestinationTable
- Throws:
Exception
-
testModifyTableOnTableWithRegionReplicas
- Throws:
Exception
-
testOnlineChangeTableSchema
Verify schema modification takes.- Throws:
IOException
InterruptedException
-
testUnknownServers
- Throws:
Exception
-