drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From par...@apache.org
Subject [09/10] drill git commit: DRILL-1848: Specify value of MAX_QUERY_MEMORY_PER_NODE_KEY in bytes instead of MB. Fixes the external sort running out of memory.
Date Fri, 12 Dec 2014 16:24:15 GMT
DRILL-1848: Specify value of MAX_QUERY_MEMORY_PER_NODE_KEY in bytes instead of MB. Fixes the
external sort running out of memory.


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

Branch: refs/heads/master
Commit: d120c399dc5f75968f95a5f06f3ec23c2f248bcc
Parents: e735808
Author: Parth Chandra <pchandra@maprtech.com>
Authored: Thu Dec 11 18:25:25 2014 -0800
Committer: Parth Chandra <pchandra@maprtech.com>
Committed: Thu Dec 11 18:25:25 2014 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/drill/exec/ExecConstants.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/d120c399/exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java b/exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java
index f204506..b390cd5 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java
@@ -142,7 +142,7 @@ public interface ExecConstants {
    */
   public static final String MAX_QUERY_MEMORY_PER_NODE_KEY = "planner.memory.max_query_memory_per_node";
   public static final OptionValidator MAX_QUERY_MEMORY_PER_NODE = new PowerOfTwoLongValidator(
-    MAX_QUERY_MEMORY_PER_NODE_KEY, Runtime.getRuntime().maxMemory(), 1 << 11);
+    MAX_QUERY_MEMORY_PER_NODE_KEY, Runtime.getRuntime().maxMemory(), 2*1024*1024*1024L);
 
   /**
    * Extra query memory per node for non-blocking operators.


Mime
View raw message