public class TestNettyIPC extends AbstractTestIPC
Modifier and Type | Class and Description |
---|---|
private static class |
TestNettyIPC.TestFailingRpcServer |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hbase.thirdparty.io.netty.channel.epoll.EpollEventLoopGroup |
EPOLL |
String |
eventLoopType |
private static org.apache.hbase.thirdparty.io.netty.channel.nio.NioEventLoopGroup |
NIO |
CONF
Constructor and Description |
---|
TestNettyIPC() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.ipc.NettyRpcClient |
createRpcClient(org.apache.hadoop.conf.Configuration conf) |
protected org.apache.hadoop.hbase.ipc.NettyRpcClient |
createRpcClientNoCodec(org.apache.hadoop.conf.Configuration conf) |
protected org.apache.hadoop.hbase.ipc.NettyRpcClient |
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(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) |
static Collection<Object[]> |
parameters() |
private void |
setConf(org.apache.hadoop.conf.Configuration conf) |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
testAsyncEcho, testAsyncRemoteError, testAsyncTimeout, testCompressCellBlock, testConnectionCloseWithOutstandingRPCs, testNoCodec, testRemoteError, testRpcMaxRequestSize, testRpcScheduler, testRpcServerForNotNullRemoteAddressInCallObject, testRTEDuringConnectionSetup, testTimeout
public static final HBaseClassTestRule CLASS_RULE
public String eventLoopType
private static org.apache.hbase.thirdparty.io.netty.channel.nio.NioEventLoopGroup NIO
private static org.apache.hbase.thirdparty.io.netty.channel.epoll.EpollEventLoopGroup EPOLL
public TestNettyIPC()
public static Collection<Object[]> parameters()
public static void setUpBeforeClass()
public static void tearDownAfterClass()
private void setConf(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) throws IOException
createRpcServer
in class AbstractTestIPC
IOException
protected org.apache.hadoop.hbase.ipc.NettyRpcClient createRpcClientNoCodec(org.apache.hadoop.conf.Configuration conf)
createRpcClientNoCodec
in class AbstractTestIPC
protected org.apache.hadoop.hbase.ipc.NettyRpcClient createRpcClient(org.apache.hadoop.conf.Configuration conf)
createRpcClient
in class AbstractTestIPC
protected org.apache.hadoop.hbase.ipc.NettyRpcClient createRpcClientRTEDuringConnectionSetup(org.apache.hadoop.conf.Configuration conf)
createRpcClientRTEDuringConnectionSetup
in class AbstractTestIPC
protected org.apache.hadoop.hbase.ipc.RpcServer createTestFailingRpcServer(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
createTestFailingRpcServer
in class AbstractTestIPC
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.