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 A7CF220049C for ; Fri, 11 Aug 2017 17:07:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A61C716D5E4; Fri, 11 Aug 2017 15:07:01 +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 EC8A516D5E2 for ; Fri, 11 Aug 2017 17:07:00 +0200 (CEST) Received: (qmail 29590 invoked by uid 500); 11 Aug 2017 15:06:59 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Delivered-To: moderator for dev@hive.apache.org Received: (qmail 2098 invoked by uid 99); 11 Aug 2017 14:18:22 -0000 X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.679 X-Spam-Level: * X-Spam-Status: No, score=1.679 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=SBaDte/vkR/95rGZY/jY9koOIeXBE+hnNnzWcupfC2c=; b=AD4U7VT9dje8pDiwWklKaA8OPZbV5z560EbMN6IMAiOB25SjFbctkl2klkflVJtD2E ickRSvP8plRLSMVfIwA6+Uj8Zz3y02BixMya9zooA75OQkTJr543E12ivr8YxLm01WtL DIPxKr53Tijra/DcV3hGUJGVepV/5YfNRawtrfQBju/9mfS/kNHuzo9nikbWccYQ7Ukp aPXSJb3KybMaX1yPGrJFhODQjkKjnK+G/g+yrsBRjDg0hiyMzZtKlRpblqYsMtWzmfYS Yo9F8Oj0YDeLIa6Qi58qOHFL7RXXvDxOOAxVg/0y2Wd/w8cdv9ZERATvNOiW0/x67e0G cYhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=SBaDte/vkR/95rGZY/jY9koOIeXBE+hnNnzWcupfC2c=; b=Y/epIw89FE/A60ze5OGh8uGQCd6Ce4Wp5qa2vqPhQON/Mc2sjZ5U9MVFLudwtheMgm VBH6MyH82bROwwbLHtWCtE+raOzshkk3oLCs3ruWrBEhhuVo1EFSAqh+dRmcGt7RwCvF PmMRYWUH1cQRc+mRYjRh6odn9ZZQQzLcGzWicjI/SrD+xA9JBSR2iqzEtbx1SdOolak8 b9nTYDkAXziTeYTQPs/4/Axvw4uFYFlYWHm2afL0BMwAuFjVOUBoQezCnQx7e6wYjwOK 4aM83JBgQwWR8+FBZ+FLiFHAq/N/J8ZFRCQs3T9SIhgedW0oMFErWxQ70oDY7sZxIseL leZQ== X-Gm-Message-State: AHYfb5jPikb93uH++LZ+8QB30gN/h9NDX1V9Tm0qZUNA5HSrRe0RVkHV T83K7dQHVY7PeResboMyG5Yl/eVdyueVjyE= X-Received: by 10.200.38.155 with SMTP id 27mr22259214qto.228.1502461098372; Fri, 11 Aug 2017 07:18:18 -0700 (PDT) MIME-Version: 1.0 From: Karen Coppage Date: Fri, 11 Aug 2017 16:18:17 +0200 Message-ID: Subject: Re: [DISCUSSION] WebUI query plan graphs To: dev@hive.apache.org Content-Type: multipart/alternative; boundary="001a11404c840edb4705567afca6" archived-at: Fri, 11 Aug 2017 15:07:01 -0000 --001a11404c840edb4705567afca6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Xuefu, Thanks so much for your reply! I created a JIRA as per your suggestion; it can be found here along with actually visible screenshots: https://issues.apache.org/jira/browse/HIVE-17300 Any and all input, comments, criticism will be very welcome. Thanks again, Karen On Thu, Aug 10, 2017 at August 10, 2017 at 6:39 AM, Xuefu Zhang < xuefu@apache.org> wrote: Hi Karen, Thanks for reaching out. While your message doesn't seem showing any images, I think the feature would be a great addition to Hive. (Hive community always welcomes contributions like this.) Please feel free to create an JIRA for easier discussion and tracking. Thanks again for your interest. --Xuefu On Thu, Aug 10, 2017 at 6:25 AM, Karen Coppage wrote: Hi all, I=E2=80=99m working on a feature of the Hive WebUI Query Plan tab that woul= d provide the option to display the query plan as a nice graph (scroll down for screenshots). If you click on one of the graph=E2=80=99s stages, the pl= an for that stage appears as text below. Stages are color-coded if they have a status (Success, Error, Running), and the rest are grayed out. Coloring is based on status already available in the WebUI, under the Stages tab. There is an additional option to display stats for MapReduce tasks. This includes the job=E2=80=99s ID, tracking URL (where the logs are found), and= mapper and reducer numbers/progress, among other info. The library I=E2=80=99m using for the graph is called vis.js (http://visjs.= org/). It has an Apache license, and the only necessary file to be included from this library is about 700 KB. I tried to keep server-side changes minimal, and graph generation is taken care of by the client. Plans with more than a given number of stages (default: 25) won't be displayed in order to preserve resources. I=E2=80=99d love to hear any and all input from the community about this fe= ature: do you think it=E2=80=99s useful, and is there anything important I=E2=80= =99m missing? Thanks, Karen Coppage ***** A completely successful query: [image: Inline image 1] A MapReduce task selected, with MapReduce stats view on: [image: Inline image 2] Full MapReduce stats, lacking some information because the query was run in local mode: [image: Inline image 3] A non-MapReduce stage selected: [image: Inline image 4] Last stage running: [image: Inline image 5] Last stage returns error: [image: Inline image 6] --001a11404c840edb4705567afca6--