public class TestMalformedCellFromClient extends Object
Modifier and Type | Field and Description |
---|---|
private static int |
CELL_SIZE |
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY |
private static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestMalformedCellFromClient() |
Modifier and Type | Method and Description |
---|---|
private static void |
assertObjects(Object[] objs,
int expectedSize) |
void |
before() |
private static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MultiRequest |
createRequest(org.apache.hadoop.hbase.client.RowMutations rm,
byte[] regionName) |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testAtomicOperations()
The invalid cells is in rm.
|
void |
testNonAtomicOperations()
This test depends on how regionserver process the batch ops.
|
void |
testRegionException()
The purpose of this ut is to check the consistency between the exception and results.
|
void |
testRegionExceptionByAsync()
This test verifies region exception doesn't corrupt the results of batch.
|
void |
testRowMutations() |
private static final org.slf4j.Logger LOG
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final byte[] FAMILY
private static final int CELL_SIZE
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
public TestMalformedCellFromClient()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testRegionException() throws InterruptedException, IOException
InterruptedException
IOException
public void testRegionExceptionByAsync() throws Exception
Exception
public void testAtomicOperations() throws Exception
Exception
private static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MultiRequest createRequest(org.apache.hadoop.hbase.client.RowMutations rm, byte[] regionName) throws IOException
IOException
public void testNonAtomicOperations() throws InterruptedException, IOException
InterruptedException
IOException
public void testRowMutations() throws InterruptedException, IOException
InterruptedException
IOException
private static void assertObjects(Object[] objs, int expectedSize)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.