impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Armstrong (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-3748: minimum buffer requirements in planner
Date Mon, 13 Mar 2017 22:04:15 GMT
Tim Armstrong has posted comments on this change.

Change subject: IMPALA-3748: minimum buffer requirements in planner

Patch Set 9:


Made the requested changes. I think we still haven't converged on some of the finer details
of how the explain plan should look, but I don't think that is likely to change the rest of
the logic in the patch.
File common/thrift/Frontend.thrift:

Line 392:   // Minimum bytes of spillable buffers required per host.
> refer to reservation rather than "spillable buffers".
File fe/src/main/java/org/apache/impala/common/

Line 59:   public static String printInstances(String prefix, long numInstances) {
> printNumInstances. i thought this would print the actual hosts.

Line 63:   public static String printPerInstanceMemEstimate(String prefix,
> why not have a print() or getExplainString() function in the resource profi

Line 78:    * Print the header for a fragment in an explain plan.
> probably best to move explain-related functionality into PlanNode.
Done - moved to PlanFragment.
File fe/src/main/java/org/apache/impala/planner/

Line 120:   // estimated per-instance memory consumed for this plan node in bytes;
> i thought we agreed that plan nodes would have their own resource profile (
I don't think we were entirely on the same page when I pushed out this patchset. I have done
that in the new one.
File fe/src/main/java/org/apache/impala/planner/

Line 1: package org.apache.impala.planner;
> missing boilerplate comments

Line 7:   // If the computed values are valid - i.e. there were > 1 plan nodes in the set.
> couldn't this be for a single node?
That's true. I just removed that part of the comment because it's could be invalid for other

Line 11:   // Minimum number of spillable buffers required to execute.
> where spillable = reservation against buffer pool (because that's all that'

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I1e358182bcf2bc5fe5c73883eb97878735b12d37
Gerrit-PatchSet: 9
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Tim Armstrong <>
Gerrit-Reviewer: Marcel Kornacker <>
Gerrit-Reviewer: Matthew Jacobs <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-HasComments: Yes

View raw message