drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul-rogers <...@git.apache.org>
Subject [GitHub] drill pull request #868: DRILL-5547:Linking config options with system optio...
Date Fri, 28 Jul 2017 21:27:10 GMT
Github user paul-rogers commented on a diff in the pull request:

    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/util/MemoryAllocationUtilities.java
    @@ -58,7 +58,10 @@ public static void setupBufferedOpsMemoryAllocations(final PhysicalPlan
plan, fi
         // if there are any sorts, compute the maximum allocation, and set it on them
         if (bufferedOpList.size() > 0) {
           final OptionManager optionManager = queryContext.getOptions();
    -      final long maxWidthPerNode = optionManager.getOption(ExecConstants.MAX_WIDTH_PER_NODE_KEY).num_val;
    +      final long maxWidthPerNode;
    +      double cpu_load_average = optionManager.getOption(ExecConstants.CPU_LOAD_AVERAGE);
    --- End diff --
    `final double ...` and below.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message