public class TestAdmin1 extends TestAdminBase
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
ADMIN, name, NB_SERVERS, TEST_UTIL
Constructor and Description |
---|
TestAdmin1() |
Modifier and Type | Method and Description |
---|---|
private int |
count(org.apache.hadoop.hbase.client.ResultScanner scanner) |
private void |
splitTest(byte[] splitPoint,
byte[][] familyNames,
int[] rowCounts,
int numVersions,
int blockSize,
boolean async) |
void |
testColumnValidName() |
void |
testCompactATableWithSuperLongTableName() |
void |
testCompactionTimestamps() |
void |
testCompactRegionWithTableName() |
void |
testForceSplit()
Tests forcing split from client and having scanners successfully ride over split.
|
void |
testForceSplitMultiFamily()
Multi-family scenario.
|
void |
testHFileReplication()
Test DFS replication for column families, where one CF has default replication(3) and the other
is set to 1.
|
void |
testInvalidColumnDescriptor() |
void |
testMergeRegions() |
void |
testMergeRegionsInvalidRegionCount() |
void |
testSplitAndMergeWithReplicaTable() |
void |
testSplitFlushCompactUnknownTable() |
void |
testSplitShouldNotHappenIfSplitIsDisabledForTable() |
void |
testTableExist() |
getStateFromMeta, setUpBeforeClass, tearDown, tearDownAfterClass
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public TestAdmin1()
public void testCompactRegionWithTableName() throws Exception
Exception
public void testSplitFlushCompactUnknownTable() throws InterruptedException
InterruptedException
public void testCompactATableWithSuperLongTableName() throws Exception
Exception
public void testCompactionTimestamps() throws Exception
Exception
public void testColumnValidName()
public void testTableExist() throws IOException
IOException
public void testForceSplit() throws Exception
Exception
public void testForceSplitMultiFamily() throws Exception
Exception
private int count(org.apache.hadoop.hbase.client.ResultScanner scanner) throws IOException
IOException
private void splitTest(byte[] splitPoint, byte[][] familyNames, int[] rowCounts, int numVersions, int blockSize, boolean async) throws Exception
Exception
public void testSplitAndMergeWithReplicaTable() throws Exception
Exception
public void testInvalidColumnDescriptor() throws IOException
IOException
public void testHFileReplication() throws Exception
Exception
public void testMergeRegions() throws Exception
Exception
public void testMergeRegionsInvalidRegionCount() throws IOException, InterruptedException, ExecutionException
public void testSplitShouldNotHappenIfSplitIsDisabledForTable() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.