Package org.apache.hadoop.hbase.client
Class FromClientSideTest2
java.lang.Object
org.apache.hadoop.hbase.client.FromClientSideTestBase
org.apache.hadoop.hbase.client.FromClientSideTest2
- Direct Known Subclasses:
TestFromClientSide2,TestFromClientSide2WithCoprocessor,TestFromClientSide2WoUnsafe
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static byte[]private static byte[]private static final org.slf4j.Loggerprivate static byte[]private static byte[]private static intFields inherited from class org.apache.hadoop.hbase.client.FromClientSideTestBase
FAMILY, INVALID_FAMILY, numHedgedReqs, QUALIFIER, registryImpl, ROW, SLAVES, tableName, TEST_UTIL, VALUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFromClientSideTest2(Class<? extends org.apache.hadoop.hbase.client.ConnectionRegistry> registryImpl, int numHedgedReqs) -
Method Summary
Modifier and TypeMethodDescriptionprivate intgetStoreFileCount(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.ServerName serverName, org.apache.hadoop.hbase.client.RegionInfo region) private voidperformMultiplePutAndFlush(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.client.Table table, byte[] row, byte[] family, int nFlushes, int nPuts) private voidrandomCFPuts(org.apache.hadoop.hbase.client.Table table, byte[] row, byte[] family, int nPuts) protected static voidstartCluster(Class<?>... cps) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class org.apache.hadoop.hbase.client.FromClientSideTestBase
assertDoubleResult, assertEmptyResult, assertIncrementKey, assertKey, assertNResult, assertNResult, assertNullResult, assertNumKeys, assertRowCount, assertSingleResult, assertSingleResult, assertSingleResult, buildScanner, createScanWithRowFilter, createScanWithRowFilter, deleteColumns, equals, getAllVersionsAndVerify, getClientConf, getConnection, getNumberOfRows, getSingleScanResult, getTestNull, getTestNull, getVerifySingleColumn, getVerifySingleEmpty, getVersionAndVerify, getVersionAndVerifyMissing, getVersionRangeAndVerify, getVersionRangeAndVerifyGreaterThan, initialize, makeN, makeNAscii, makeNBig, makeStamps, parameters, putRows, scanAllVersionsAndVerify, scanTestNull, scanTestNull, scanVerifySingleColumn, scanVerifySingleEmpty, scanVersionAndVerify, scanVersionAndVerifyMissing, scanVersionRangeAndVerify, scanVersionRangeAndVerifyGreaterThan, setUp, singleRowGetTest, singleRowScanTest, splitTable, tearDown, tearDownAfterClass
-
Field Details
-
LOG
-
WAITTABLE_MILLIS
-
ANOTHERROW
-
COL_QUAL
-
VAL_BYTES
-
ROW_BYTES
-
-
Constructor Details
-
FromClientSideTest2
protected FromClientSideTest2(Class<? extends org.apache.hadoop.hbase.client.ConnectionRegistry> registryImpl, int numHedgedReqs)
-
-
Method Details
-
startCluster
- Throws:
Exception
-
testHTableBatchWithEmptyPut
- Throws:
IOExceptionInterruptedException
-
testHTableWithLargeBatch
- Throws:
IOExceptionInterruptedException
-
testBatchWithRowMutation
- Throws:
Exception
-
testBatchWithCheckAndMutate
- Throws:
Exception
-
testHTableExistsMethodSingleRegionSingleGet
@TestTemplate public void testHTableExistsMethodSingleRegionSingleGet() throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
testHTableExistsMethodSingleRegionMultipleGets
@TestTemplate public void testHTableExistsMethodSingleRegionMultipleGets() throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
testHTableExistsBeforeGet
- Throws:
IOExceptionInterruptedException
-
testHTableExistsAllBeforeGet
- Throws:
IOExceptionInterruptedException
-
testGetEmptyRow
- Throws:
Exception
-
testConnectionDefaultUsesCodec
- Throws:
Exception
-
randomCFPuts
private void randomCFPuts(org.apache.hadoop.hbase.client.Table table, byte[] row, byte[] family, int nPuts) throws Exception - Throws:
Exception
-
performMultiplePutAndFlush
private void performMultiplePutAndFlush(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.client.Table table, byte[] row, byte[] family, int nFlushes, int nPuts) throws Exception - Throws:
Exception
-
getStoreFileCount
private int getStoreFileCount(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.ServerName serverName, org.apache.hadoop.hbase.client.RegionInfo region) throws IOException - Throws:
IOException
-
testAdvancedConfigOverride
- Throws:
Exception
-