From b3e3ab7dd1d0a56185585c0bcc6113e7a48fb0c9 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Tue, 21 Nov 2017 20:16:55 -0800 Subject: [PATCH] HBASE-19323 Make netty engine default in hbase2 --- .../src/main/java/org/apache/hadoop/hbase/ipc/RpcServerFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServerFactory.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServerFactory.java index 89d660167b..649f1f19a3 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServerFactory.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServerFactory.java @@ -48,7 +48,7 @@ public class RpcServerFactory { final InetSocketAddress bindAddress, Configuration conf, RpcScheduler scheduler) throws IOException { String rpcServerClass = conf.get(CUSTOM_RPC_SERVER_IMPL_CONF_KEY, - SimpleRpcServer.class.getName()); + NettyRpcServer.class.getName()); StringBuffer servicesList = new StringBuffer(); for (BlockingServiceAndInterface s: services) { ServiceDescriptor sd = s.getBlockingService().getDescriptorForType(); -- 2.11.0 (Apple Git-81)