drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arina Ielchiieva (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-6081) Duration of completed queries is continuously increasing
Date Fri, 12 Jan 2018 09:50:04 GMT

     [ https://issues.apache.org/jira/browse/DRILL-6081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arina Ielchiieva updated DRILL-6081:
------------------------------------
    Labels: ready-to-commit  (was: )

> 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
>              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
(v6.4.14#64029)

Mime
View raw message