Package org.apache.hadoop.hbase.client
Class TestAsyncTableRpcPriority
java.lang.Object
org.apache.hadoop.hbase.client.TestAsyncTableRpcPriority
Confirm that we will set the priority in
HBaseRpcController
for several table operations.-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.conf.Configuration
private org.apache.hadoop.hbase.client.AsyncConnection
org.junit.rules.TestName
private org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.Interface
private ExecutorService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.ipc.HBaseRpcController
assertPriority
(int priority) private org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequest
private CompletableFuture<Void>
mockScanReturnRenewFuture
(int scanPriority) void
setUp()
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
private void
testForTable
(org.apache.hadoop.hbase.TableName tableName, CompletableFuture<Void> renewFuture, Optional<Integer> priority) void
testGet()
void
void
void
void
void
void
void
void
testPut()
void
void
void
void
testScan()
void
void
void
-
Field Details
-
CLASS_RULE
-
CONF
-
stub
-
threadPool
-
conn
-
name
-
-
Constructor Details
-
TestAsyncTableRpcPriority
public TestAsyncTableRpcPriority()
-
-
Method Details
-
setUp
- Throws:
IOException
-
assertPriority
-
assertScannerCloseRequest
private org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequest assertScannerCloseRequest() -
testGet
-
testGetNormalTable
-
testGetSystemTable
-
testGetMetaTable
-
testPut
-
testPutNormalTable
-
testPutSystemTable
-
testPutMetaTable
-
testDelete
-
testDeleteNormalTable
-
testDeleteSystemTable
-
testDeleteMetaTable
-
testAppend
-
testAppendNormalTable
-
testAppendSystemTable
-
testAppendMetaTable
-
testIncrement
-
testIncrementNormalTable
-
testIncrementSystemTable
-
testIncrementMetaTable
-
testCheckAndPut
-
testCheckAndPutNormalTable
-
testCheckAndPutSystemTable
-
testCheckAndPutMetaTable
-
testCheckAndDelete
-
testCheckAndDeleteNormalTable
-
testCheckAndDeleteSystemTable
-
testCheckAndDeleteMetaTable
-
testCheckAndMutate
- Throws:
IOException
-
testCheckAndMutateNormalTable
- Throws:
IOException
-
testCheckAndMutateSystemTable
- Throws:
IOException
-
testCheckAndMutateMetaTable
- Throws:
IOException
-
mockScanReturnRenewFuture
-
testScan
- Throws:
Exception
-
testScanNormalTable
- Throws:
Exception
-
testScanSystemTable
- Throws:
Exception
-
testScanMetaTable
- Throws:
Exception
-
testForTable
private void testForTable(org.apache.hadoop.hbase.TableName tableName, CompletableFuture<Void> renewFuture, Optional<Integer> priority) throws Exception - Throws:
Exception
-
testBatchNormalTable
-
testBatchSystemTable
-
testBatchMetaTable
-