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
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.LoggerFields inherited from class org.apache.hadoop.hbase.client.TestAdminBase
ADMIN, name, TEST_UTIL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidtestCloneTableSchema(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.TableName newTableName, boolean preserveSplits) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidVerify schema modification takes.voidprivate voidtestTruncateTable(org.apache.hadoop.hbase.TableName tableName, boolean preserveSplits) voidvoidprivate voidverifyRoundRobinDistribution(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
-
testListTableDescriptors
- Throws:
IOException
-
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:
IOExceptionInterruptedException
-
testCreateTableWithRegions
- Throws:
IOExceptionInterruptedException
-
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:
IOExceptionInterruptedException
-
testUnknownServers
- Throws:
Exception
-