public class TestNettyIPC extends AbstractTestIPC
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
String |
eventLoopType |
CONF| Constructor and Description |
|---|
TestNettyIPC() |
| Modifier and Type | Method and Description |
|---|---|
protected NettyRpcClient |
createRpcClient(org.apache.hadoop.conf.Configuration conf) |
protected NettyRpcClient |
createRpcClientNoCodec(org.apache.hadoop.conf.Configuration conf) |
protected NettyRpcClient |
createRpcClientRTEDuringConnectionSetup(org.apache.hadoop.conf.Configuration conf) |
protected RpcServer |
createRpcServer(Server server,
String name,
List<RpcServer.BlockingServiceAndInterface> services,
InetSocketAddress bindAddress,
org.apache.hadoop.conf.Configuration conf,
RpcScheduler scheduler) |
protected RpcServer |
createTestFailingRpcServer(Server server,
String name,
List<RpcServer.BlockingServiceAndInterface> services,
InetSocketAddress bindAddress,
org.apache.hadoop.conf.Configuration conf,
RpcScheduler scheduler) |
static Collection<Object[]> |
parameters() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
testAsyncEcho, testAsyncRemoteError, testAsyncTimeout, testCompressCellBlock, testConnectionCloseWithOutstandingRPCs, testNoCodec, testRemoteError, testRpcMaxRequestSize, testRpcScheduler, testRpcServerForNotNullRemoteAddressInCallObject, testRTEDuringConnectionSetup, testTimeoutpublic static final HBaseClassTestRule CLASS_RULE
public String eventLoopType
public TestNettyIPC()
public static Collection<Object[]> parameters()
public static void setUpBeforeClass()
public static void tearDownAfterClass()
protected RpcServer createRpcServer(Server server, String name, List<RpcServer.BlockingServiceAndInterface> services, InetSocketAddress bindAddress, org.apache.hadoop.conf.Configuration conf, RpcScheduler scheduler) throws IOException
createRpcServer in class AbstractTestIPCIOExceptionprotected NettyRpcClient createRpcClientNoCodec(org.apache.hadoop.conf.Configuration conf)
createRpcClientNoCodec in class AbstractTestIPCprotected NettyRpcClient createRpcClient(org.apache.hadoop.conf.Configuration conf)
createRpcClient in class AbstractTestIPCprotected NettyRpcClient createRpcClientRTEDuringConnectionSetup(org.apache.hadoop.conf.Configuration conf)
createRpcClientRTEDuringConnectionSetup in class AbstractTestIPCprotected RpcServer createTestFailingRpcServer(Server server, String name, List<RpcServer.BlockingServiceAndInterface> services, InetSocketAddress bindAddress, org.apache.hadoop.conf.Configuration conf, RpcScheduler scheduler) throws IOException
createTestFailingRpcServer in class AbstractTestIPCIOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.