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
Modifier and TypeFieldDescriptionboolean
static final HBaseClassTestRule
boolean
private static org.apache.hadoop.hbase.util.NettyEventLoopGroupConfig
char[]
private static X509TestContextProvider
private static final HBaseCommonTestingUtility
private X509TestContext
Fields inherited from class org.apache.hadoop.hbase.ipc.AbstractTestIPC
CONF, rpcServerImpl, traceRule
-
Constructor Summary
-
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.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) 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) data()
void
setUp()
static void
void
tearDown()
static void
Methods 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:
createRpcServer
in classAbstractTestIPC
- Throws:
IOException
-
createRpcClientNoCodec
protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> createRpcClientNoCodec(org.apache.hadoop.conf.Configuration conf) - Specified by:
createRpcClientNoCodec
in classAbstractTestIPC
-
createRpcClient
protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> createRpcClient(org.apache.hadoop.conf.Configuration conf) - Specified by:
createRpcClient
in classAbstractTestIPC
-
createRpcClientRTEDuringConnectionSetup
protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> createRpcClientRTEDuringConnectionSetup(org.apache.hadoop.conf.Configuration conf) throws IOException - Specified by:
createRpcClientRTEDuringConnectionSetup
in 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:
createTestFailingRpcServer
in classAbstractTestIPC
- Throws:
IOException
-
createBadAuthRpcClient
protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> createBadAuthRpcClient(org.apache.hadoop.conf.Configuration conf) - Specified by:
createBadAuthRpcClient
in classAbstractTestIPC
-