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 |
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 |
---|---|
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
|
static void |
setup() |
void |
setupTest() |
void |
testMultiLogThresholdActions() |
void |
testMultiLogThresholdRegionActions() |
void |
testMultiNoLogThresholdAction() |
void |
testMultiNoLogThresholdRegionActions() |
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 TestMultiLogThreshold()
private void sendMultiRequest(int rows, TestMultiLogThreshold.ActionType actionType) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
public void testMultiLogThresholdRegionActions() throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, IOException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
IOException
public void testMultiNoLogThresholdRegionActions() throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, IOException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
IOException
public void testMultiLogThresholdActions() throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, IOException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
IOException
public void testMultiNoLogThresholdAction() 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.