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 621A4200D19 for ; Fri, 22 Sep 2017 02:08:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 60CBC1609E5; Fri, 22 Sep 2017 00:08:10 +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 A751C1609E1 for ; Fri, 22 Sep 2017 02:08:09 +0200 (CEST) Received: (qmail 29079 invoked by uid 500); 22 Sep 2017 00:08:08 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 29070 invoked by uid 99); 22 Sep 2017 00:08:08 -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; Fri, 22 Sep 2017 00:08:08 +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 5CD981A6440 for ; Fri, 22 Sep 2017 00:08:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] 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 D0hgWaJTQGTx for ; Fri, 22 Sep 2017 00:08:07 +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 E834E5FAC9 for ; Fri, 22 Sep 2017 00:08:06 +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 CB82BE0B4A for ; Fri, 22 Sep 2017 00:08:05 +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 10B65241CD for ; Fri, 22 Sep 2017 00:08:04 +0000 (UTC) Date: Fri, 22 Sep 2017 00:08:04 +0000 (UTC) From: "Mithun Radhakrishnan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HIVE-17576) Improve progress-reporting in TezProcessor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 22 Sep 2017 00:08:10 -0000 [ https://issues.apache.org/jira/browse/HIVE-17576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mithun Radhakrishnan reassigned HIVE-17576: ------------------------------------------- > Improve progress-reporting in TezProcessor > ------------------------------------------ > > Key: HIVE-17576 > URL: https://issues.apache.org/jira/browse/HIVE-17576 > Project: Hive > Issue Type: Bug > Reporter: Mithun Radhakrishnan > Assignee: Chris Drome > > Another one on behalf of [~selinazh] and [~cdrome]. Following the example in [Apache Tez's {{MapProcessor}}|https://github.com/apache/tez/blob/247719d7314232f680f028f4e1a19370ffb7b1bb/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/processor/map/MapProcessor.java#L88], {{TezProcessor}} ought to use {{ProgressHelper}} to report progress for a Tez task. As per [~kshukla]'s advice, > {quote} > Tez... provides {{getProgress()}} API for {{AbstractLogicalInput(s)}} which will give the correct progress value for a given Input. The TezProcessor(s) in Hive should use this to do something similar to what MapProcessor in Tez does today, which is use/override ProgressHelper to get the input progress and then set the progress on the processorContext. > ... > The default behavior of the ProgressHelper class sets the processor progress to be the average of progress values from all inputs. > {quote} > This code is -whacked from- *inspired by* {{MapProcessor}}'s use of {{ProgressHelper}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029)