public class TestAdmin1 extends Object
| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.hbase.client.Admin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestAdmin1() |
| Modifier and Type | Method and Description |
|---|---|
private org.apache.hadoop.hbase.client.TableState.State |
getStateFromMeta(org.apache.hadoop.hbase.TableName table) |
void |
setUp() |
static void |
setUpBeforeClass() |
(package private) void |
splitTest(byte[] splitPoint,
byte[][] familyNames,
int[] rowCounts,
int numVersions,
int blockSize,
boolean async) |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testCompactionTimestamps() |
void |
testCreateTable() |
void |
testCreateTableNumberOfRegions() |
void |
testCreateTableWithEmptyRowInTheSplitKeys() |
void |
testCreateTableWithOnlyEmptyStartRow() |
void |
testCreateTableWithRegions() |
void |
testDeleteEditUnknownColumnFamilyAndOrTable() |
void |
testDeleteLastColumnFamily() |
void |
testDisableAndEnableTable() |
void |
testDisableAndEnableTables() |
void |
testEnableDisableAddColumnDeleteColumn() |
void |
testEnableTableRetainAssignment()
Test retain assignment on enableTable.
|
void |
testForceSplit()
Tests forcing split from client and having scanners successfully ride over split.
|
void |
testForceSplitMultiFamily()
Multi-family scenario.
|
void |
testGetTableDescriptor() |
void |
testHColumnValidName() |
void |
testHFileReplication() |
void |
testInvalidHColumnDescriptor() |
void |
testMergeRegions() |
void |
testModifyRegionReplicasEnabledTable() |
void |
testModifyTableOnTableWithRegionReplicas() |
void |
testOnlineChangeTableSchema()
Verify schema modification takes.
|
void |
testReadOnlyTableModify()
Verify schema change for read only table
|
void |
testSplitAndMergeWithReplicaTable() |
void |
testSplitFlushCompactUnknownTable() |
void |
testSplitShouldNotHappenIfSplitIsDisabledForTable() |
void |
testTableAvailableWithRandomSplitKeys() |
void |
testTableExist() |
void |
testTruncateTable() |
private void |
testTruncateTable(org.apache.hadoop.hbase.TableName tableName,
boolean preserveSplits) |
void |
testTruncateTablePreservingSplits() |
protected void |
verifyRoundRobinDistribution(org.apache.hadoop.hbase.client.ClusterConnection c,
org.apache.hadoop.hbase.client.RegionLocator regionLocator,
int expectedRegions) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private org.apache.hadoop.hbase.client.Admin admin
public org.junit.rules.TestName name
public TestAdmin1()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testSplitFlushCompactUnknownTable() throws InterruptedException
InterruptedExceptionpublic void testDeleteEditUnknownColumnFamilyAndOrTable() throws IOException
IOExceptionpublic void testDisableAndEnableTable() throws IOException
IOExceptionprivate org.apache.hadoop.hbase.client.TableState.State getStateFromMeta(org.apache.hadoop.hbase.TableName table) throws IOException
IOExceptionpublic void testDisableAndEnableTables() throws IOException
IOExceptionpublic void testCreateTable() throws IOException
IOExceptionpublic void testTruncateTable() throws IOException
IOExceptionpublic void testTruncateTablePreservingSplits() throws IOException
IOExceptionprivate void testTruncateTable(org.apache.hadoop.hbase.TableName tableName, boolean preserveSplits) throws IOException
IOExceptionpublic void testGetTableDescriptor() throws IOException
IOExceptionpublic void testCompactionTimestamps() throws Exception
Exceptionpublic void testHColumnValidName()
public void testReadOnlyTableModify() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testModifyRegionReplicasEnabledTable() throws Exception
Exceptionpublic void testOnlineChangeTableSchema() throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected void verifyRoundRobinDistribution(org.apache.hadoop.hbase.client.ClusterConnection c, org.apache.hadoop.hbase.client.RegionLocator regionLocator, int expectedRegions) throws IOException
IOExceptionpublic void testCreateTableNumberOfRegions() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testCreateTableWithRegions() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testTableAvailableWithRandomSplitKeys() throws Exception
Exceptionpublic void testCreateTableWithOnlyEmptyStartRow() throws IOException
IOExceptionpublic void testCreateTableWithEmptyRowInTheSplitKeys() throws IOException
IOExceptionpublic void testTableExist() throws IOException
IOExceptionpublic void testForceSplit() throws Exception
ExceptionIOExceptionpublic void testEnableTableRetainAssignment() throws IOException
IOExceptionpublic void testForceSplitMultiFamily() throws Exception
ExceptionIOExceptionvoid splitTest(byte[] splitPoint, byte[][] familyNames, int[] rowCounts, int numVersions, int blockSize, boolean async) throws Exception
Exceptionpublic void testSplitAndMergeWithReplicaTable() throws Exception
Exceptionpublic void testInvalidHColumnDescriptor() throws IOException
IOExceptionpublic void testEnableDisableAddColumnDeleteColumn() throws Exception
Exceptionpublic void testDeleteLastColumnFamily() throws Exception
Exceptionpublic void testHFileReplication() throws Exception
Exceptionpublic void testMergeRegions() throws Exception
Exceptionpublic void testSplitShouldNotHappenIfSplitIsDisabledForTable() throws Exception
Exceptionpublic void testModifyTableOnTableWithRegionReplicas() throws Exception
ExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.