public class TestSimpleRequestController extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
DUMMY_BYTES_1 |
private static byte[] |
DUMMY_BYTES_2 |
private static byte[] |
DUMMY_BYTES_3 |
private static org.apache.hadoop.hbase.TableName |
DUMMY_TABLE |
private static org.apache.hadoop.hbase.HRegionInfo |
HRI1 |
private static org.apache.hadoop.hbase.HRegionInfo |
HRI2 |
private static org.apache.hadoop.hbase.HRegionInfo |
HRI3 |
private static org.apache.hadoop.hbase.HRegionLocation |
LOC1 |
private static org.apache.hadoop.hbase.HRegionLocation |
LOC2 |
private static org.apache.hadoop.hbase.HRegionLocation |
LOC3 |
private static org.apache.hadoop.hbase.ServerName |
SN |
private static org.apache.hadoop.hbase.ServerName |
SN2 |
Constructor and Description |
---|
TestSimpleRequestController() |
Modifier and Type | Method and Description |
---|---|
private static org.apache.hadoop.hbase.client.Put |
createPut(long maxHeapSizePerRequest) |
private void |
testIllegalArgument(String key,
long value) |
void |
testIllegalRegionTasks() |
void |
testIllegalRequestHeapSize() |
void |
testIllegalRequestRows() |
void |
testIllegalRsTasks() |
void |
testIllegalSubmittedSize() |
void |
testRequestHeapSizeChecker() |
void |
testRequestRowsChecker() |
void |
testSubmittedSizeChecker() |
void |
testTaskCheckerHost() |
void |
testTaskCountChecker() |
void |
testWaitForMaximumCurrentTasks() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.apache.hadoop.hbase.TableName DUMMY_TABLE
private static final byte[] DUMMY_BYTES_1
private static final byte[] DUMMY_BYTES_2
private static final byte[] DUMMY_BYTES_3
private static final org.apache.hadoop.hbase.ServerName SN
private static final org.apache.hadoop.hbase.ServerName SN2
private static final org.apache.hadoop.hbase.HRegionInfo HRI1
private static final org.apache.hadoop.hbase.HRegionInfo HRI2
private static final org.apache.hadoop.hbase.HRegionInfo HRI3
private static final org.apache.hadoop.hbase.HRegionLocation LOC1
private static final org.apache.hadoop.hbase.HRegionLocation LOC2
private static final org.apache.hadoop.hbase.HRegionLocation LOC3
public TestSimpleRequestController()
public void testIllegalRequestHeapSize()
public void testIllegalRsTasks()
public void testIllegalRegionTasks()
public void testIllegalSubmittedSize()
public void testIllegalRequestRows()
private void testIllegalArgument(String key, long value)
private static org.apache.hadoop.hbase.client.Put createPut(long maxHeapSizePerRequest)
public void testTaskCheckerHost() throws IOException
IOException
public void testRequestHeapSizeChecker() throws IOException
IOException
public void testRequestRowsChecker() throws IOException
IOException
public void testSubmittedSizeChecker()
public void testTaskCountChecker() throws InterruptedIOException
InterruptedIOException
public void testWaitForMaximumCurrentTasks() throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.