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 6F2382004F3 for ; Tue, 15 Aug 2017 19:26:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6DB421670C2; Tue, 15 Aug 2017 17:26:56 +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 B22E51670BF for ; Tue, 15 Aug 2017 19:26:55 +0200 (CEST) Received: (qmail 48029 invoked by uid 500); 15 Aug 2017 17:26:54 -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 48018 invoked by uid 99); 15 Aug 2017 17:26:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2017 17:26:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1F3D31807E2 for ; Tue, 15 Aug 2017 17:26:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id mv7ditcJwIWQ for ; Tue, 15 Aug 2017 17:26:53 +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 B1A1E5FC9D for ; Tue, 15 Aug 2017 17:26:52 +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 v7FHQoAV019883; Tue, 15 Aug 2017 17:26:51 GMT Message-Id: <201708151726.v7FHQoAV019883@ip-10-146-233-104.ec2.internal> Date: Tue, 15 Aug 2017 17:26:50 +0000 From: "Dan Hecht (Code Review)" To: Matthew Jacobs , impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Lars Volker , Tim Armstrong Reply-To: dhecht@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-4833=3A_Compute_precise_per-host_reservation_size=0A?= X-Gerrit-Change-Id: Idbcd1e9b1be14edc4017b4907e83f9d56059fbac X-Gerrit-ChangeURL: X-Gerrit-Commit: 6c1254656186b62e90674b4fe093a6864ccbbde5 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: Tue, 15 Aug 2017 17:26:56 -0000 Dan Hecht has posted comments on this change. Change subject: IMPALA-4833: Compute precise per-host reservation size ...................................................................... Patch Set 8: (6 comments) http://gerrit.cloudera.org:8080/#/c/7630/8/be/src/scheduling/query-schedule.h File be/src/scheduling/query-schedule.h: PS8, Line 56: fragments instances Line 57: // instance_params. I think this comment lost some information compared to the equivalent comments in the old code. From the comment, it's hard to know whether this is the minimum over all instances of the reservation, or the total of all the minimums. It would help to explain what this is conceptually. PS8, Line 62: initial_reservation_total_bytes I found that having the word "claim" in the old equivalent members made it easier to keep track of what this was, since "total" can be so vague. http://gerrit.cloudera.org:8080/#/c/7630/8/common/thrift/Frontend.thrift File common/thrift/Frontend.thrift: PS8, Line 399: in the case all fragments are scheduled on all hosts with : // max DOP given that this patch is addressing the overestimation, why do we compute this overestimate? http://gerrit.cloudera.org:8080/#/c/7630/8/common/thrift/ImpalaInternalService.thrift File common/thrift/ImpalaInternalService.thrift: PS8, Line 483: fragments in fragment_ctxs is it over fragments or instances? if fragments and not instances, how does that work out? PS8, Line 490: initial_reservation_total_bytes same comment -- To view, visit http://gerrit.cloudera.org:8080/7630 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Idbcd1e9b1be14edc4017b4907e83f9d56059fbac Gerrit-PatchSet: 8 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Matthew Jacobs Gerrit-Reviewer: Dan Hecht Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Reviewer: Matthew Jacobs Gerrit-Reviewer: Tim Armstrong Gerrit-HasComments: Yes