Package org.apache.hadoop.hbase.ipc
Class TestNettyTlsIPC
java.lang.Object
org.apache.hadoop.hbase.ipc.AbstractTestIPC
org.apache.hadoop.hbase.ipc.TestNettyTlsIPC
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanstatic final HBaseClassTestRulebooleanprivate static org.apache.hadoop.hbase.util.NettyEventLoopGroupConfigchar[]private static X509TestContextProviderprivate static final HBaseCommonTestingUtilprivate X509TestContextFields inherited from class org.apache.hadoop.hbase.ipc.AbstractTestIPC
CONF, rpcServerImpl, traceRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?>createBadAuthRpcClient(org.apache.hadoop.conf.Configuration conf) protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?>createRpcClient(org.apache.hadoop.conf.Configuration conf) protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?>createRpcClientNoCodec(org.apache.hadoop.conf.Configuration conf) protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?>createRpcClientRTEDuringConnectionSetup(org.apache.hadoop.conf.Configuration conf) protected org.apache.hadoop.hbase.ipc.RpcServercreateRpcServer(org.apache.hadoop.hbase.Server server, String name, List<org.apache.hadoop.hbase.ipc.RpcServer.BlockingServiceAndInterface> services, InetSocketAddress bindAddress, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.ipc.RpcScheduler scheduler) protected org.apache.hadoop.hbase.ipc.RpcServercreateTestFailingRpcServer(String name, List<org.apache.hadoop.hbase.ipc.RpcServer.BlockingServiceAndInterface> services, InetSocketAddress bindAddress, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.ipc.RpcScheduler scheduler) data()voidsetUp()static voidvoidtearDown()static voidMethods inherited from class org.apache.hadoop.hbase.ipc.AbstractTestIPC
setUpBeforeTest, testAsyncEcho, testAsyncRemoteError, testAsyncTimeout, testBadPreambleHeader, testCompressCellBlock, testConnectionCloseWithOutstandingRPCs, testGetConnectionRegistry, testGetConnectionRegistryError, testNoCodec, testRemoteError, testRpcMaxRequestSize, testRpcScheduler, testRpcServerForNotNullRemoteAddressInCallObject, testRTEDuringConnectionSetup, testTimeout, testTracingErrorIpc, testTracingSuccessIpc
-
Field Details
-
CLASS_RULE
-
UTIL
-
PROVIDER
-
EVENT_LOOP_GROUP_CONFIG
-
caKeyType
-
certKeyType
-
keyPassword
-
acceptPlainText
-
clientTlsEnabled
-
x509TestContext
-
-
Constructor Details
-
TestNettyTlsIPC
public TestNettyTlsIPC()
-
-
Method Details
-
data
-
setUpBeforeClass
- Throws:
IOException
-
tearDownAfterClass
- Throws:
InterruptedException
-
setUp
- Throws:
IOException
-
tearDown
-
createRpcServer
protected org.apache.hadoop.hbase.ipc.RpcServer createRpcServer(org.apache.hadoop.hbase.Server server, String name, List<org.apache.hadoop.hbase.ipc.RpcServer.BlockingServiceAndInterface> services, InetSocketAddress bindAddress, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.ipc.RpcScheduler scheduler) throws IOException - Overrides:
createRpcServerin classAbstractTestIPC- Throws:
IOException
-
createRpcClientNoCodec
protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> createRpcClientNoCodec(org.apache.hadoop.conf.Configuration conf) - Specified by:
createRpcClientNoCodecin classAbstractTestIPC
-
createRpcClient
protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> createRpcClient(org.apache.hadoop.conf.Configuration conf) - Specified by:
createRpcClientin classAbstractTestIPC
-
createRpcClientRTEDuringConnectionSetup
protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> createRpcClientRTEDuringConnectionSetup(org.apache.hadoop.conf.Configuration conf) throws IOException - Specified by:
createRpcClientRTEDuringConnectionSetupin classAbstractTestIPC- Throws:
IOException
-
createTestFailingRpcServer
protected org.apache.hadoop.hbase.ipc.RpcServer createTestFailingRpcServer(String name, List<org.apache.hadoop.hbase.ipc.RpcServer.BlockingServiceAndInterface> services, InetSocketAddress bindAddress, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.ipc.RpcScheduler scheduler) throws IOException - Overrides:
createTestFailingRpcServerin classAbstractTestIPC- Throws:
IOException
-
createBadAuthRpcClient
protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> createBadAuthRpcClient(org.apache.hadoop.conf.Configuration conf) - Specified by:
createBadAuthRpcClientin classAbstractTestIPC
-