Package org.apache.hadoop.hbase.client
Class TestAdmin1
java.lang.Object
org.apache.hadoop.hbase.client.TestAdminBase
org.apache.hadoop.hbase.client.TestAdmin1
@Tag("org.apache.hadoop.hbase.testclassification.LargeTests") @Tag("org.apache.hadoop.hbase.testclassification.ClientTests")
public class TestAdmin1
extends TestAdminBase
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
FieldsFields inherited from class org.apache.hadoop.hbase.client.TestAdminBase
ADMIN, methodName, 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, setUpMethodName, tearDown, tearDownAfterClass
-
Field Details
-
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
-
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
@Test public void testMergeRegionsInvalidRegionCount() throws IOException, InterruptedException, ExecutionException -
testSplitShouldNotHappenIfSplitIsDisabledForTable
- Throws:
Exception
-