HBASE-13097 addendum use default ByteBufAllocator

Signed-off-by: stack <stack@apache.org>
This commit is contained in:
zhangduo 2015-02-28 09:00:46 +08:00 committed by stack
parent ec877959d7
commit 21f12ce8e5
1 changed files with 0 additions and 2 deletions

View File

@ -18,7 +18,6 @@
package org.apache.hadoop.hbase.ipc;
import io.netty.bootstrap.Bootstrap;
import io.netty.buffer.PooledByteBufAllocator;
import io.netty.channel.Channel;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelOption;
@ -172,7 +171,6 @@ public class AsyncRpcClient extends AbstractRpcClient {
this.bootstrap = new Bootstrap();
bootstrap.group(eventLoopGroupAndChannelClass.getFirst())
.channel(eventLoopGroupAndChannelClass.getSecond())
.option(ChannelOption.ALLOCATOR, PooledByteBufAllocator.DEFAULT)
.option(ChannelOption.TCP_NODELAY, tcpNoDelay)
.option(ChannelOption.SO_KEEPALIVE, tcpKeepAlive)
.option(ChannelOption.CONNECT_TIMEOUT_MILLIS, operationTimeout);