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
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testRegionException() throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic void testRegionExceptionByAsync() throws Exception
Exceptionpublic void testAtomicOperations() throws Exception
Exceptionprivate static org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MultiRequest createRequest(org.apache.hadoop.hbase.client.RowMutations rm, byte[] regionName) throws IOException
IOExceptionpublic void testNonAtomicOperations() throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic void testRowMutations() throws InterruptedException, IOException
InterruptedExceptionIOExceptionprivate static void assertObjects(Object[] objs, int expectedSize)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.