public class TestTableRpcPriority extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.hbase.client.Connection |
conn |
org.junit.rules.TestName |
name |
private org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.BlockingInterface |
stub |
Constructor and Description |
---|
TestTableRpcPriority() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.ipc.HBaseRpcController |
assertControllerArgs(int priority) |
private org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequest |
assertScannerCloseRequest() |
private void |
mockScan(int scanPriority) |
void |
setUp() |
private void |
testForTable(org.apache.hadoop.hbase.TableName tableName,
Optional<Integer> priority) |
void |
testScan() |
void |
testScanMetaTable() |
void |
testScanNormalTable() |
void |
testScanSuperHighPriority()
This test verifies that our closeScanner request honors the original priority of the scan if
it's greater than our expected HIGH_QOS for close calls.
|
void |
testScanSystemTable() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
private org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.BlockingInterface stub
private org.apache.hadoop.hbase.client.Connection conn
public TestTableRpcPriority()
public void setUp() throws IOException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
IOException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
public void testScanSuperHighPriority() throws Exception
Exception
public void testScanNormalTable() throws Exception
Exception
public void testScanSystemTable() throws Exception
Exception
public void testScanMetaTable() throws Exception
Exception
private void testForTable(org.apache.hadoop.hbase.TableName tableName, Optional<Integer> priority) throws Exception
Exception
private void mockScan(int scanPriority) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
private org.apache.hadoop.hbase.ipc.HBaseRpcController assertControllerArgs(int priority)
private org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequest assertScannerCloseRequest()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.