Package org.apache.hadoop.hbase.client
Class TestAdmin1
java.lang.Object
org.apache.hadoop.hbase.client.TestAdminBase
org.apache.hadoop.hbase.client.TestAdmin1
Class to test HBaseAdmin. Spins up the minicluster once at test start and then takes it down
afterward. Add any testing of HBaseAdmin functionality here.
-
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 TypeMethodDescriptionprivate intcount(org.apache.hadoop.hbase.client.ResultScanner scanner) private voidsplitTest(byte[] splitPoint, byte[][] familyNames, int[] rowCounts, int numVersions, int blockSize, boolean async) voidvoidvoidvoidTests forcing split from client and having scanners successfully ride over split.voidMulti-family scenario.voidTest DFS replication for column families, where one CF has default replication(3) and the other is set to 1.voidvoidvoidvoidvoidvoidvoidMethods inherited from class org.apache.hadoop.hbase.client.TestAdminBase
getStateFromMeta, setUpBeforeClass, tearDown, tearDownAfterClass
-
Field Details
-
CLASS_RULE
-
LOG
-
-
Constructor Details
-
TestAdmin1
public TestAdmin1()
-
-
Method Details
-
testSplitFlushCompactUnknownTable
- Throws:
InterruptedException
-
testCompactATableWithSuperLongTableName
- Throws:
Exception
-
testCompactionTimestamps
- Throws:
Exception
-
testColumnValidName
-
testTableExist
- Throws:
IOException
-
testForceSplit
Tests forcing split from client and having scanners successfully ride over split.- Throws:
Exception
-
testForceSplitMultiFamily
Multi-family scenario. Tests forcing split from client and having scanners successfully ride over split.- Throws:
Exception
-
count
- Throws:
IOException
-
splitTest
private void splitTest(byte[] splitPoint, byte[][] familyNames, int[] rowCounts, int numVersions, int blockSize, boolean async) throws Exception - Throws:
Exception
-
testSplitAndMergeWithReplicaTable
- Throws:
Exception
-
testInvalidColumnDescriptor
- Throws:
IOException
-
testHFileReplication
Test DFS replication for column families, where one CF has default replication(3) and the other is set to 1.- Throws:
Exception
-
testMergeRegions
- Throws:
Exception
-
testMergeRegionsInvalidRegionCount
public void testMergeRegionsInvalidRegionCount() throws IOException, InterruptedException, ExecutionException -
testSplitShouldNotHappenIfSplitIsDisabledForTable
- Throws:
Exception
-