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 41DE7200D36 for ; Mon, 6 Nov 2017 18:48:20 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 40150160BEC; Mon, 6 Nov 2017 17:48:20 +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 8BF2D160BD5 for ; Mon, 6 Nov 2017 18:48:19 +0100 (CET) Received: (qmail 48407 invoked by uid 500); 6 Nov 2017 17:48:18 -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 48396 invoked by uid 99); 6 Nov 2017 17:48:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2017 17:48:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B5AB61B777D for ; Mon, 6 Nov 2017 17:48:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.362 X-Spam-Level: ** X-Spam-Status: No, score=2.362 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 5NajP3a6rHZw for ; Mon, 6 Nov 2017 17:48:15 +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 2DCE060F77 for ; Mon, 6 Nov 2017 17:48:15 +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 vA6HmCn8014332; Mon, 6 Nov 2017 17:48:12 GMT Message-Id: <201711061748.vA6HmCn8014332@ip-10-146-233-104.ec2.internal> X-Gerrit-PatchSet: 4 Date: Mon, 6 Nov 2017 17:48:12 +0000 From: "Tim Armstrong (Code Review)" To: Thomas Tauber-Marshall , Mostafa Mokhtar , Alex Behm , impala-cr@cloudera.com, reviews@impala.incubator.apache.org X-Gerrit-MessageType: newpatchset Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-6151=3A_add_query-level_fragment/backend_counters=0A?= X-Gerrit-Change-Id: I3df350414733e98d1ec28adc1c98f45bb0c4e3e9 X-Gerrit-Change-Number: 8461 X-Gerrit-ChangeURL: X-Gerrit-Commit: 73aae508da22fc9c31abd7c3e4cfabc1ca3a9d83 In-Reply-To: References: Reply-To: tarmstrong@cloudera.com, impala-cr@cloudera.com, marcelk@gmail.com, mmokhtar@cloudera.com, tmarshall@cloudera.com, alex.behm@cloudera.com, reviews@impala.incubator.apache.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.14.2 Content-Type: multipart/alternative; boundary="050mNcqSW4A="; charset=UTF-8 archived-at: Mon, 06 Nov 2017 17:48:20 -0000 --050mNcqSW4A= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Thomas Tauber-Marshall, Mostafa Mokhtar, Alex Behm, I'd like you to= reexamine a change=2E Please visit http://gerrit=2Ecloudera=2Eorg:808= 0/8461 to look at the new patch set (#4)=2E Change subject: IMPALA-6151: = add query-level fragment/backend counters =2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E= =2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E= =2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E= =2E=2E=2E=2E=2E=2E=2E=2E=2E IMPALA-6151: add query-level fragment/backend = counters This adds NumBackends, NumFragments and NumFragmentInstances coun= ters to the query profile to make it easier to manually or programmatically= analyse the query=2E Also add a num-queries-registered metric to track th= e number of queries that have been executed but are not yet unregistered=2E= Testing: Ran "select count(*) from alltypessmall" and checked profile: = Backend startup latencies: Count: 3, min / max: 1ms / 1ms, 25th %-ile: 1= ms, 50th %-ile: 1ms, 75th %-ile: 1ms, 90th %-ile: 1ms, 95th %-ile: 1ms, 99= =2E9th %-ile: 1ms Per Node Peak Memory Usage: tarmstrong-box:22000(1=2E= 10 MB) tarmstrong-box:22001(1=2E02 MB) tarmstrong-box:22002(1=2E02 MB) = - FiltersReceived: 0 (0) - FinalizationTimer: 0=2E000ns - NumBac= kends: 3 (3) - NumFragmentInstances: 4 (4) - NumFragments: 2 (2) = Ran some queries and manually checked the num-queries-registered metric on= the /metrics page when the queries were running and after they finished=2E= Change-Id: I3df350414733e98d1ec28adc1c98f45bb0c4e3e9 --- M be/src/runtime= /coordinator=2Ecc M be/src/service/impala-server=2Ecc M be/src/util/impalad= -metrics=2Ecc M be/src/util/impalad-metrics=2Eh M common/thrift/metrics=2Ej= son 5 files changed, 36 insertions(+), 5 deletions(-) git pull ssh://ge= rrit=2Ecloudera=2Eorg:29418/Impala-ASF refs/changes/61/8461/4 -- To view, = visit http://gerrit=2Ecloudera=2Eorg:8080/8461 To unsubscribe, visit http:/= /gerrit=2Ecloudera=2Eorg:8080/settings Gerrit-Project: Impala-ASF Gerrit-B= ranch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I3df3504147= 33e98d1ec28adc1c98f45bb0c4e3e9 Gerrit-Change-Number: 8461 Gerrit-PatchSet: = 4 Gerrit-Owner: Tim Armstrong Gerrit-Reviewer: = Alex Behm Gerrit-Reviewer: Mostafa Mokhtar Gerrit-Reviewer: Thomas Tauber-Marshall Gerrit-Reviewer: Tim Armstrong --050mNcqSW4A=--