You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ar...@apache.org on 2018/10/19 12:52:52 UTC
[drill] 01/03: DRILL-6785: DataClient is using RootAllocator in the
bootstrap instead of dataPool
This is an automated email from the ASF dual-hosted git repository.
arina pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git
commit f5bdbf344bfbd069fd3f1143b23624457ace19a9
Author: Sorabh Hamirwasia <sh...@maprtech.com>
AuthorDate: Mon Oct 8 11:28:27 2018 -0700
DRILL-6785: DataClient is using RootAllocator in the bootstrap instead of dataPool
closes #1502
---
.../src/main/java/org/apache/drill/exec/rpc/data/DataClient.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/data/DataClient.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/data/DataClient.java
index f222941..da6e176 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/data/DataClient.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/data/DataClient.java
@@ -50,7 +50,7 @@ public class DataClient extends BasicClient<RpcType, DataClientConnection, BitCl
super(
DataRpcConfig.getMapping(config.getBootstrapContext().getConfig(),
config.getBootstrapContext().getExecutor()),
- config.getBootstrapContext().getAllocator().getAsByteBufAllocator(),
+ config.getAllocator().getAsByteBufAllocator(),
config.getBootstrapContext().getBitClientLoopGroup(),
RpcType.HANDSHAKE,
BitServerHandshake.class,