From issues-return-49052-archive-asf-public=cust-asf.ponee.io@drill.apache.org Mon Jan 22 17:48:04 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id F0726180609 for ; Mon, 22 Jan 2018 17:48:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E01D3160C4B; Mon, 22 Jan 2018 16:48:03 +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 323B3160C3A for ; Mon, 22 Jan 2018 17:48:03 +0100 (CET) Received: (qmail 55958 invoked by uid 500); 22 Jan 2018 16:48:02 -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 55949 invoked by uid 99); 22 Jan 2018 16:48:02 -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, 22 Jan 2018 16:48:02 +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 070831A0044 for ; Mon, 22 Jan 2018 16:48:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.711 X-Spam-Level: X-Spam-Status: No, score=-100.711 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id nqBijCbdELvV for ; Mon, 22 Jan 2018 16:48:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 0384F5FAE4 for ; Mon, 22 Jan 2018 16:48:01 +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 8A525E002F for ; Mon, 22 Jan 2018 16:48:00 +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 4347821206 for ; Mon, 22 Jan 2018 16:48:00 +0000 (UTC) Date: Mon, 22 Jan 2018 16:48:00 +0000 (UTC) From: "Anton Gozhiy (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-6081) Duration of completed queries is continuously increasing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-6081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334532#comment-16334532 ] Anton Gozhiy commented on DRILL-6081: ------------------------------------- Also verified with canceled queries > Duration of completed queries is continuously increasing > -------------------------------------------------------- > > Key: DRILL-6081 > URL: https://issues.apache.org/jira/browse/DRILL-6081 > Project: Apache Drill > Issue Type: Bug > Affects Versions: 1.13.0 > Reporter: Anton Gozhiy > Assignee: Arina Ielchiieva > Priority: Major > Labels: ready-to-commit > Fix For: 1.13.0 > > > Steps: > 1. Execute some query (for example "select * from sys.version") > 2. Go to the profiles page: http://node1:8047/profiles > 3. Open the details page for the query > 4. Expand the duration section > Expected result: > The duration should be adequate and shouldn't be changed after the page reload > Actual result: > The duration is continuously increasing (You should reload page to notice that) > ||Planning||Queued||Execution||Total|| > |0.092 sec|0.012 sec|59 min 36.487 sec |59 min 36.591 sec| > Workaround: none > Note: > The issue introduced after the following fix: > https://issues.apache.org/jira/browse/DRILL-5963 > *ROOT CAUSE* > After refactoring made in DRILL-5963 making query start / queue / end time was moved to another abstraction {{queryStateProcessor}}. On Foreman close {{queryStateProcessor}} was closed after final query profile was stored thus query end time was never updated. To fix this issue we need to close {{queryStateProcessor}} before writing query final profile. -- This message was sent by Atlassian JIRA (v7.6.3#76005)