drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sudhe...@apache.org
Subject [1/3] drill git commit: DRILL-4623: Disable epoll transport by default
Date Sun, 07 Aug 2016 17:00:10 GMT
Repository: drill
Updated Branches:
  refs/heads/master 18e16610a -> 4bd67a660


DRILL-4623: Disable epoll transport by default

closes #486


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/48b3fd2e
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/48b3fd2e
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/48b3fd2e

Branch: refs/heads/master
Commit: 48b3fd2ee040f30be3ff3172bf03111ca58d4b48
Parents: 18e1661
Author: Sudheesh Katkam <skatkam@maprtech.com>
Authored: Thu Apr 21 10:28:29 2016 -0700
Committer: Sudheesh Katkam <skatkam@maprtech.com>
Committed: Fri Aug 5 17:30:42 2016 -0700

----------------------------------------------------------------------
 distribution/src/resources/drill-config.sh                         | 2 +-
 .../src/main/java/org/apache/drill/exec/rpc/TransportCheck.java    | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/48b3fd2e/distribution/src/resources/drill-config.sh
----------------------------------------------------------------------
diff --git a/distribution/src/resources/drill-config.sh b/distribution/src/resources/drill-config.sh
index a72cb84..de37162 100644
--- a/distribution/src/resources/drill-config.sh
+++ b/distribution/src/resources/drill-config.sh
@@ -182,7 +182,7 @@ export DRILLBIT_MAX_PERM=${DRILLBIT_MAX_PERM:-"512M"}
 export DRILLBIT_CODE_CACHE_SIZE=${DRILLBIT_CODE_CACHE_SIZE:-"1G"}
 
 export DRILLBIT_OPTS="-Xms$DRILL_HEAP -Xmx$DRILL_HEAP -XX:MaxDirectMemorySize=$DRILL_MAX_DIRECT_MEMORY"
-export DRILLBIT_OPTS="$DRILLBIT_OPTS -XX:ReservedCodeCacheSize=$DRILLBIT_CODE_CACHE_SIZE
-Ddrill.exec.enable-epoll=true"
+export DRILLBIT_OPTS="$DRILLBIT_OPTS -XX:ReservedCodeCacheSize=$DRILLBIT_CODE_CACHE_SIZE
-Ddrill.exec.enable-epoll=false"
 export DRILLBIT_OPTS="$DRILLBIT_OPTS -XX:MaxPermSize=$DRILLBIT_MAX_PERM"
 
 # Under YARN, the log directory is usually YARN-provided. Replace any

http://git-wip-us.apache.org/repos/asf/drill/blob/48b3fd2e/exec/rpc/src/main/java/org/apache/drill/exec/rpc/TransportCheck.java
----------------------------------------------------------------------
diff --git a/exec/rpc/src/main/java/org/apache/drill/exec/rpc/TransportCheck.java b/exec/rpc/src/main/java/org/apache/drill/exec/rpc/TransportCheck.java
index c789af8..4886c98 100644
--- a/exec/rpc/src/main/java/org/apache/drill/exec/rpc/TransportCheck.java
+++ b/exec/rpc/src/main/java/org/apache/drill/exec/rpc/TransportCheck.java
@@ -45,6 +45,8 @@ public class TransportCheck {
 
     String name = SystemPropertyUtil.get("os.name").toLowerCase(Locale.US).trim();
 
+    // Epoll is disabled by default (see distribution/src/resources/drill-env.sh) due to
+    // https://github.com/netty/netty/issues/3539
     if (name.startsWith("linux") && SystemPropertyUtil.getBoolean(USE_LINUX_EPOLL,
false)) {
       SUPPORTS_EPOLL = true;
     } else {


Mime
View raw message