Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 29845200CCC for ; Fri, 7 Jul 2017 00:19:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 27FDF1678F6; Thu, 6 Jul 2017 22:19:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6E9681678F5 for ; Fri, 7 Jul 2017 00:19:49 +0200 (CEST) Received: (qmail 76070 invoked by uid 500); 6 Jul 2017 22:19:48 -0000 Mailing-List: contact reviews-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@impala.incubator.apache.org Received: (qmail 76059 invoked by uid 99); 6 Jul 2017 22:19:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2017 22:19:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id DA217C061B for ; Thu, 6 Jul 2017 22:19:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id s9CVDfasAz7R for ; Thu, 6 Jul 2017 22:19:46 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id F38565F659 for ; Thu, 6 Jul 2017 22:19:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id v66MJi7b005412; Thu, 6 Jul 2017 22:19:44 GMT Message-Id: <201707062219.v66MJi7b005412@ip-10-146-233-104.ec2.internal> Date: Thu, 6 Jul 2017 22:19:44 +0000 From: "Dan Hecht (Code Review)" To: Tim Armstrong , impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Alex Behm Reply-To: dhecht@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-4862=3A_make_resource_profile_consistent_with_backend_behaviour=0A?= X-Gerrit-Change-Id: I492cf5052bb27e4e335395e2a8f8a3b07248ec9d X-Gerrit-ChangeURL: X-Gerrit-Commit: e6c6d5de34a38632460c7770389dc3eb38611f07 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.12.7 archived-at: Thu, 06 Jul 2017 22:19:50 -0000 Dan Hecht has posted comments on this change. Change subject: IMPALA-4862: make resource profile consistent with backend behaviour ...................................................................... Patch Set 13: (6 comments) The backend changes look good. I'll make another pass through the frontend, but let's first finalize the thrift change to make sure we're on the same page. http://gerrit.cloudera.org:8080/#/c/7223/13/be/src/exec/exec-node.h File be/src/exec/exec-node.h: PS13, Line 88: t nit: double space http://gerrit.cloudera.org:8080/#/c/7223/13/common/thrift/Frontend.thrift File common/thrift/Frontend.thrift: PS13, Line 395: does not overlap. shouldn't that be: do overlap? PS13, Line 398: per-host minimum buffer reservations that makes it sound like it's directly related to the thing above. maybe say instead: Sum of the per-plan-node minimum buffer reservations over all operators in the query plan. The fact that it's per-host is kind of implied then (since we're talking about nodes in the plan), and seems secondary to the fact that it's over the plan anyway (given what it's for). PS13, Line 400: per_host_min_reservation_su that name makes it sound like it's a sum of the previous field. Would sum_per_node_min_reservation or total_per_node_min_reservation make sense? http://gerrit.cloudera.org:8080/#/c/7223/13/fe/src/main/java/org/apache/impala/planner/PlanNode.java File fe/src/main/java/org/apache/impala/planner/PlanNode.java: Line 662: // then closed before Open() of this node returns. but that's not true if InSubplan, right? http://gerrit.cloudera.org:8080/#/c/7223/13/fe/src/main/java/org/apache/impala/planner/Planner.java File fe/src/main/java/org/apache/impala/planner/Planner.java: PS13, Line 354: // Sum of per-host minimum reservations over all plan nodes and sinks. Used to manage : // a pool of initial reservations: once this amount of initial reservation has been : // claimed, no more initial reservations will be claimed. : long perHostMinimumReservationSum = 0; let's rename this to be consistent with whatever we converge on for the thrift naming and thrift comment -- To view, visit http://gerrit.cloudera.org:8080/7223 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I492cf5052bb27e4e335395e2a8f8a3b07248ec9d Gerrit-PatchSet: 13 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Tim Armstrong Gerrit-Reviewer: Alex Behm Gerrit-Reviewer: Dan Hecht Gerrit-Reviewer: Tim Armstrong Gerrit-HasComments: Yes