public class TestAdmin1 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 |
|---|
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 |
testCompactionTimestamps() |
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, tearDownAfterClasspublic static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public TestAdmin1()
public void testSplitFlushCompactUnknownTable() throws InterruptedException
InterruptedExceptionpublic void testCompactionTimestamps() throws Exception
Exceptionpublic void testColumnValidName()
public void testTableExist() throws IOException
IOExceptionpublic void testForceSplit() throws Exception
Exceptionpublic void testForceSplitMultiFamily() throws Exception
Exceptionprivate int count(org.apache.hadoop.hbase.client.ResultScanner scanner) throws IOException
IOExceptionprivate void splitTest(byte[] splitPoint, byte[][] familyNames, int[] rowCounts, int numVersions, int blockSize, boolean async) throws Exception
Exceptionpublic void testSplitAndMergeWithReplicaTable() throws Exception
Exceptionpublic void testInvalidColumnDescriptor() throws IOException
IOExceptionpublic void testHFileReplication() throws Exception
Exceptionpublic void testMergeRegions() throws Exception
Exceptionpublic void testMergeRegionsInvalidRegionCount() throws IOException, InterruptedException, ExecutionException
public void testSplitShouldNotHappenIfSplitIsDisabledForTable() throws Exception
ExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.