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 34350200B99 for ; Wed, 5 Oct 2016 19:37:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 31265160ADE; Wed, 5 Oct 2016 17:37:43 +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 759A4160AC9 for ; Wed, 5 Oct 2016 19:37:42 +0200 (CEST) Received: (qmail 90936 invoked by uid 500); 5 Oct 2016 17:37:41 -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 90920 invoked by uid 99); 5 Oct 2016 17:37:41 -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; Wed, 05 Oct 2016 17:37:41 +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 E70241806F8 for ; Wed, 5 Oct 2016 17:37:40 +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 mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6bkGZ9s8EuSv for ; Wed, 5 Oct 2016 17:37:39 +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 mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id D30D85F399 for ; Wed, 5 Oct 2016 17:37:38 +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 u95Hbb9s014830; Wed, 5 Oct 2016 17:37:37 GMT Message-Id: <201610051737.u95Hbb9s014830@ip-10-146-233-104.ec2.internal> Date: Wed, 5 Oct 2016 17:37:37 +0000 From: "Marcel Kornacker (Code Review)" To: impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Henry Robinson , Alex Behm , Dan Hecht , Mostafa Mokhtar , Lars Volker , Matthew Jacobs Reply-To: marcel@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-3902=3A_Scheduler_improvements_for_running_multiple_fragment_instances_on_a_single_backend=0A?= X-Gerrit-Change-Id: I240445199e22f009f4e72fdb8754eb8d77e3d680 X-Gerrit-ChangeURL: X-Gerrit-Commit: 87840fa8c871e734dcfa80b62dc50631c740d7b5 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.2 archived-at: Wed, 05 Oct 2016 17:37:43 -0000 Marcel Kornacker has posted comments on this change. Change subject: IMPALA-3902: Scheduler improvements for running multiple fragment instances on a single backend ...................................................................... Patch Set 18: (1 comment) http://gerrit.cloudera.org:8080/#/c/4054/17/be/src/runtime/coordinator.cc File be/src/runtime/coordinator.cc: PS17, Line 483: // initialize progress updater : const string& str = Substitute("Query $0", PrintId(query_id_)); : progress_.Init(str, schedule_.num_scan_ranges()); > why was this wrong before? If there are no remote fragments I'd imagine Get the problem is if there are remote fragments, but starting the coordinator instance fails in prepare. i added a comment to the .h file which says that no elements of fragment_instance_states_ will ever be nullptr. if you resize here you end up with that scenario (exposed through a test). -- To view, visit http://gerrit.cloudera.org:8080/4054 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I240445199e22f009f4e72fdb8754eb8d77e3d680 Gerrit-PatchSet: 18 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Marcel Kornacker Gerrit-Reviewer: Alex Behm Gerrit-Reviewer: Dan Hecht Gerrit-Reviewer: Henry Robinson Gerrit-Reviewer: Internal Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Reviewer: Marcel Kornacker Gerrit-Reviewer: Matthew Jacobs Gerrit-Reviewer: Mostafa Mokhtar Gerrit-HasComments: Yes