public class TestFromClientSide3 extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestFromClientSide3.WaitingForMultiMutationsObserver |
static class |
TestFromClientSide3.WaitingForScanObserver |
Modifier and Type | Field and Description |
---|---|
private static byte[] |
ANOTHERROW |
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
COL_QUAL |
private static byte[] |
FAMILY |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static byte[] |
QUALIFIER |
private static byte[] |
ROW |
private static byte[] |
ROW_BYTES |
private static int |
SLAVES |
private org.apache.hadoop.hbase.TableName |
tableName |
private static HBaseTestingUtility |
TEST_UTIL |
private static byte[] |
VAL_BYTES |
private static byte[] |
VALUE |
private static int |
WAITTABLE_MILLIS |
Constructor and Description |
---|
TestFromClientSide3() |
Modifier and Type | Method and Description |
---|---|
private static void |
assertNoLocks(org.apache.hadoop.hbase.TableName tableName) |
private static org.apache.hadoop.hbase.regionserver.HRegion |
find(org.apache.hadoop.hbase.TableName tableName) |
private static <T extends org.apache.hadoop.hbase.coprocessor.RegionObserver> |
find(org.apache.hadoop.hbase.TableName tableName,
Class<T> clz) |
(package private) static byte[] |
generateHugeValue(int size) |
private void |
performMultiplePutAndFlush(org.apache.hadoop.hbase.client.HBaseAdmin admin,
org.apache.hadoop.hbase.client.Table table,
byte[] row,
byte[] family,
int nFlushes,
int nPuts) |
private void |
randomCFPuts(org.apache.hadoop.hbase.client.Table table,
byte[] row,
byte[] family,
int nPuts) |
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testAdvancedConfigOverride() |
void |
testBatchWithCheckAndMutate() |
void |
testBatchWithRowMutation() |
void |
testConnectionDefaultUsesCodec() |
void |
testGetEmptyRow() |
void |
testHTableBatchWithEmptyPut() |
void |
testHTableExistsAllBeforeGet() |
void |
testHTableExistsBeforeGet() |
void |
testHTableExistsMethodMultipleRegionsMultipleGets() |
void |
testHTableExistsMethodMultipleRegionsSingleGet() |
void |
testHTableExistsMethodSingleRegionMultipleGets() |
void |
testHTableExistsMethodSingleRegionSingleGet() |
void |
testHTableWithLargeBatch() |
void |
testLockLeakWithDelta() |
void |
testMultiRowMutations() |
void |
testMVCCUsingMVCCPreAssign()
A test case for issue HBASE-17482 After combile seqid with mvcc readpoint, seqid/mvcc is
acquired and stamped onto cells in the append thread, a countdown latch is used to ensure that
happened before cells can be put into memstore.
|
private void |
testPreBatchMutate(org.apache.hadoop.hbase.TableName tableName,
Runnable rn) |
void |
testPutThenGetWithMultipleThreads() |
void |
testPutWithPreBatchMutate() |
void |
testRowMutationsWithPreBatchMutate() |
void |
testScanAfterDeletingSpecifiedRow() |
void |
testScanAfterDeletingSpecifiedRowV2() |
void |
testScanWithBatchSizeReturnIncompleteCells() |
private static List<org.apache.hadoop.hbase.Cell> |
toList(org.apache.hadoop.hbase.client.ResultScanner scanner) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private static final int WAITTABLE_MILLIS
private static byte[] FAMILY
private static int SLAVES
private static final byte[] ROW
private static final byte[] ANOTHERROW
private static final byte[] QUALIFIER
private static final byte[] VALUE
private static final byte[] COL_QUAL
private static final byte[] VAL_BYTES
private static final byte[] ROW_BYTES
public org.junit.rules.TestName name
private org.apache.hadoop.hbase.TableName tableName
public TestFromClientSide3()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
private void randomCFPuts(org.apache.hadoop.hbase.client.Table table, byte[] row, byte[] family, int nPuts) throws Exception
Exception
private void performMultiplePutAndFlush(org.apache.hadoop.hbase.client.HBaseAdmin admin, org.apache.hadoop.hbase.client.Table table, byte[] row, byte[] family, int nFlushes, int nPuts) throws Exception
Exception
private static List<org.apache.hadoop.hbase.Cell> toList(org.apache.hadoop.hbase.client.ResultScanner scanner)
public void testScanAfterDeletingSpecifiedRow() throws IOException, InterruptedException
IOException
InterruptedException
public void testScanAfterDeletingSpecifiedRowV2() throws IOException, InterruptedException
IOException
InterruptedException
public void testAdvancedConfigOverride() throws Exception
Exception
public void testHTableBatchWithEmptyPut() throws IOException, InterruptedException
IOException
InterruptedException
public void testHTableWithLargeBatch() throws IOException, InterruptedException
IOException
InterruptedException
public void testBatchWithRowMutation() throws Exception
Exception
public void testBatchWithCheckAndMutate() throws Exception
Exception
public void testHTableExistsMethodSingleRegionSingleGet() throws IOException, InterruptedException
IOException
InterruptedException
public void testHTableExistsMethodSingleRegionMultipleGets() throws IOException, InterruptedException
IOException
InterruptedException
public void testHTableExistsBeforeGet() throws IOException, InterruptedException
IOException
InterruptedException
public void testHTableExistsAllBeforeGet() throws IOException, InterruptedException
IOException
InterruptedException
public void testHTableExistsMethodMultipleRegionsSingleGet() throws Exception
Exception
public void testHTableExistsMethodMultipleRegionsMultipleGets() throws Exception
Exception
public void testGetEmptyRow() throws Exception
Exception
public void testConnectionDefaultUsesCodec() throws Exception
Exception
public void testPutWithPreBatchMutate() throws Exception
Exception
public void testRowMutationsWithPreBatchMutate() throws Exception
Exception
private void testPreBatchMutate(org.apache.hadoop.hbase.TableName tableName, Runnable rn) throws Exception
Exception
public void testLockLeakWithDelta() throws Exception, Throwable
public void testMultiRowMutations() throws Exception, Throwable
public void testMVCCUsingMVCCPreAssign() throws IOException, InterruptedException
IOException
InterruptedException
public void testPutThenGetWithMultipleThreads() throws Exception
Exception
private static void assertNoLocks(org.apache.hadoop.hbase.TableName tableName) throws IOException, InterruptedException
IOException
InterruptedException
private static org.apache.hadoop.hbase.regionserver.HRegion find(org.apache.hadoop.hbase.TableName tableName) throws IOException, InterruptedException
IOException
InterruptedException
private static <T extends org.apache.hadoop.hbase.coprocessor.RegionObserver> T find(org.apache.hadoop.hbase.TableName tableName, Class<T> clz) throws IOException, InterruptedException
IOException
InterruptedException
static byte[] generateHugeValue(int size)
public void testScanWithBatchSizeReturnIncompleteCells() throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.