public class TestAdmin extends TestAdminBase
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
ADMIN, name, TEST_UTIL
Constructor and Description |
---|
TestAdmin() |
getStateFromMeta, setUpBeforeClass, tearDown, tearDownAfterClass
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public TestAdmin()
public void testCreateTable() throws IOException
IOException
public void testTruncateTable() throws IOException
IOException
public void testTruncateTablePreservingSplits() throws IOException
IOException
private void testTruncateTable(org.apache.hadoop.hbase.TableName tableName, boolean preserveSplits) throws IOException
IOException
public void testCreateTableNumberOfRegions() throws IOException, InterruptedException
IOException
InterruptedException
public void testCreateTableWithRegions() throws IOException, InterruptedException
IOException
InterruptedException
public void testCreateTableWithOnlyEmptyStartRow() throws IOException
IOException
public void testCreateTableWithEmptyRowInTheSplitKeys() throws IOException
IOException
private void verifyRoundRobinDistribution(org.apache.hadoop.hbase.client.RegionLocator regionLocator, int expectedRegions) throws IOException
IOException
public void testCloneTableSchema() throws Exception
Exception
public void testCloneTableSchemaPreservingSplits() throws Exception
Exception
private void testCloneTableSchema(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.TableName newTableName, boolean preserveSplits) throws Exception
Exception
public void testCloneTableSchemaWithNonExistentSourceTable() throws Exception
Exception
public void testCloneTableSchemaWithExistentDestinationTable() throws Exception
Exception
public void testModifyTableOnTableWithRegionReplicas() throws Exception
Exception
public void testOnlineChangeTableSchema() throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.