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 0F223200C36 for ; Thu, 23 Feb 2017 23:49:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0DB85160B3E; Thu, 23 Feb 2017 22:49:54 +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 4EA6E160B64 for ; Thu, 23 Feb 2017 23:49:53 +0100 (CET) Received: (qmail 73726 invoked by uid 500); 23 Feb 2017 22:49:52 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 73708 invoked by uid 99); 23 Feb 2017 22:49:52 -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; Thu, 23 Feb 2017 22:49:52 +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 A64E41A0404 for ; Thu, 23 Feb 2017 22:49:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] 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 MvtqtR8fll3P for ; Thu, 23 Feb 2017 22:49:50 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id BAD655F2C5 for ; Thu, 23 Feb 2017 22:49:49 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2D7D6E08B8 for ; Thu, 23 Feb 2017 22:49:45 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 80BDF24154 for ; Thu, 23 Feb 2017 22:49:44 +0000 (UTC) Date: Thu, 23 Feb 2017 22:49:44 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-5195) Publish Operator and MajorFragment Stats in Profile page MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 23 Feb 2017 22:49:54 -0000 [ https://issues.apache.org/jira/browse/DRILL-5195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15881486#comment-15881486 ] ASF GitHub Bot commented on DRILL-5195: --------------------------------------- Github user kkhatua commented on a diff in the pull request: https://github.com/apache/drill/pull/756#discussion_r102839683 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/OperatorWrapper.java --- @@ -83,56 +84,77 @@ public String getContent() { maxRecords = Math.max(sp.getRecords(), maxRecords); } - builder.appendFormattedInteger(maxBatches, null); - builder.appendFormattedInteger(maxRecords, null); - builder.appendBytes(op.getPeakLocalMemoryAllocated(), null); + builder.appendFormattedInteger(maxBatches, null, null); + builder.appendFormattedInteger(maxRecords, null, null); + builder.appendBytes(op.getPeakLocalMemoryAllocated(), null, null); } return builder.build(); } - public static final String[] OPERATORS_OVERVIEW_COLUMNS = {"Operator ID", "Type", "Min Setup Time", "Avg Setup Time", - "Max Setup Time", "Min Process Time", "Avg Process Time", "Max Process Time", "Min Wait Time", "Avg Wait Time", - "Max Wait Time", "Avg Peak Memory", "Max Peak Memory"}; + public static final String[] OPERATORS_OVERVIEW_COLUMNS = {"Operator ID", "Type", + "Avg Setup Time", "Max Setup Time", + "Avg Process Time", "Max Process Time", "Min Wait Time", "Avg Wait Time", "Max Wait Time", + "% Fragment Time", "% Query Time", "Rows", + "Avg Peak Memory", "Max Peak Memory"}; - public void addSummary(TableBuilder tb) { + public static final String[] OPERATORS_OVERVIEW_COLUMNS_TOOLTIP = {null, null, + null, null, null, null, null, null, null, + "% of time that the major fragment spent in operator", "% of Query time spent in operator", "Records emitted by the operator", --- End diff -- Rows emitted would be correct. For all the operators, this is a tally of the outgoing rows and not the rows processed. Changed text for the rest. > Publish Operator and MajorFragment Stats in Profile page > -------------------------------------------------------- > > Key: DRILL-5195 > URL: https://issues.apache.org/jira/browse/DRILL-5195 > Project: Apache Drill > Issue Type: Improvement > Components: Web Server > Affects Versions: 1.9.0 > Reporter: Kunal Khatua > Assignee: Kunal Khatua > Attachments: dbit_complete.png, dbit_inflight.png, dbit_opOverview.png > > > Currently, we show runtimes for major fragments, and min,max,avg times for setup, processing and waiting for various operators. > It would be worthwhile to have additional stats for the following: > MajorFragment > %Busy - % of the active time for all the minor fragments within each major fragment that they were busy. > Operator Profile > %Busy - % of the active time for all the fragments within each operator that they were busy. > Records - Total number of records propagated out by that operator. -- This message was sent by Atlassian JIRA (v6.3.15#6346)