public class TestNettyTlsIPC extends AbstractTestIPC
Modifier and Type | Field and Description |
---|---|
boolean |
acceptPlainText |
X509KeyType |
caKeyType |
X509KeyType |
certKeyType |
static HBaseClassTestRule |
CLASS_RULE |
boolean |
clientTlsEnabled |
private static org.apache.hadoop.hbase.util.NettyEventLoopGroupConfig |
EVENT_LOOP_GROUP_CONFIG |
char[] |
keyPassword |
private static X509TestContextProvider |
PROVIDER |
private static org.apache.hadoop.hbase.HBaseServerBase<?> |
SERVER |
private static HBaseCommonTestingUtil |
UTIL |
private X509TestContext |
x509TestContext |
CONF, traceRule
Constructor and Description |
---|
TestNettyTlsIPC() |
Modifier and Type | Method and Description |
---|---|
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(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) |
static List<Object[]> |
data() |
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
testAsyncEcho, testAsyncRemoteError, testAsyncTimeout, testCompressCellBlock, testConnectionCloseWithOutstandingRPCs, testNoCodec, testRemoteError, testRpcMaxRequestSize, testRpcScheduler, testRpcServerForNotNullRemoteAddressInCallObject, testRTEDuringConnectionSetup, testTimeout, testTracingErrorIpc, testTracingSuccessIpc
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseCommonTestingUtil UTIL
private static X509TestContextProvider PROVIDER
private static org.apache.hadoop.hbase.util.NettyEventLoopGroupConfig EVENT_LOOP_GROUP_CONFIG
private static org.apache.hadoop.hbase.HBaseServerBase<?> SERVER
public X509KeyType caKeyType
public X509KeyType certKeyType
public char[] keyPassword
public boolean acceptPlainText
public boolean clientTlsEnabled
private X509TestContext x509TestContext
public TestNettyTlsIPC()
public static void setUpBeforeClass() throws IOException
IOException
public static void tearDownAfterClass() throws InterruptedException
InterruptedException
public void setUp() throws IOException
IOException
public void tearDown()
protected org.apache.hadoop.hbase.ipc.RpcServer createRpcServer(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
createRpcServer
in class AbstractTestIPC
IOException
protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> createRpcClientNoCodec(org.apache.hadoop.conf.Configuration conf)
createRpcClientNoCodec
in class AbstractTestIPC
protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> createRpcClient(org.apache.hadoop.conf.Configuration conf)
createRpcClient
in class AbstractTestIPC
protected org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> createRpcClientRTEDuringConnectionSetup(org.apache.hadoop.conf.Configuration conf) throws IOException
createRpcClientRTEDuringConnectionSetup
in class AbstractTestIPC
IOException
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
createTestFailingRpcServer
in class AbstractTestIPC
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.