public class TestMultiLogThreshold extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
TestMultiLogThreshold.ActionType |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
CONF |
private static org.apache.hadoop.hbase.regionserver.RSRpcServices.LogDelegate |
LD |
static boolean |
rejectLargeBatchOp |
private static org.apache.hadoop.hbase.regionserver.HRegionServer |
RS |
private static org.apache.hadoop.hbase.regionserver.RSRpcServices |
SERVICES |
private static byte[] |
TEST_FAM |
private static HBaseTestingUtility |
TEST_UTIL |
private static int |
THRESHOLD |
Constructor and Description |
---|
TestMultiLogThreshold() |
Modifier and Type | Method and Description |
---|---|
static List<Object[]> |
params() |
private void |
sendMultiRequest(int rows,
TestMultiLogThreshold.ActionType actionType)
Sends a multi request with a certain amount of rows, will populate Multi command with either
"rows" number of RegionActions with one Action each or one RegionAction with "rows" number of
Actions
|
void |
setupTest() |
void |
tearDown() |
void |
testMultiLogThresholdRegionActions() |
public static final HBaseClassTestRule CLASS_RULE
private static org.apache.hadoop.hbase.regionserver.RSRpcServices SERVICES
private static HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.conf.Configuration CONF
private static final byte[] TEST_FAM
private static org.apache.hadoop.hbase.regionserver.RSRpcServices.LogDelegate LD
private static org.apache.hadoop.hbase.regionserver.HRegionServer RS
private static int THRESHOLD
public static boolean rejectLargeBatchOp
public TestMultiLogThreshold()
private void sendMultiRequest(int rows, TestMultiLogThreshold.ActionType actionType) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, IOException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
IOException
public void testMultiLogThresholdRegionActions() throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, IOException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.