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
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
Fields inherited from class org.apache.hadoop.hbase.client.TestAdminBase
ADMIN, name, NB_SERVERS, TEST_UTIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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
void
void
void
void
Tests forcing split from client and having scanners successfully ride over split.void
Multi-family scenario.void
Test DFS replication for column families, where one CF has default replication(3) and the other is set to 1.void
void
void
void
void
void
void
void
void
void
Methods 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
-
testCompactRegionWithTableName
- Throws:
Exception
-
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
-
testTruncateRegions
- Throws:
Exception
-
testTruncateReplicaRegionNotAllowed
- Throws:
Exception
-
testTruncateRegionMetaTableRegionsNotAllowed
- Throws:
Exception
-