You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2018/05/03 22:26:00 UTC
[jira] [Created] (IMPALA-6969) Profile doesn't include the reason
that a query couldn't be dequeued from admission controller
Tim Armstrong created IMPALA-6969:
-------------------------------------
Summary: Profile doesn't include the reason that a query couldn't be dequeued from admission controller
Key: IMPALA-6969
URL: https://issues.apache.org/jira/browse/IMPALA-6969
Project: IMPALA
Issue Type: Improvement
Components: Backend
Affects Versions: Impala 2.12.0, Impala 3.0
Reporter: Tim Armstrong
Assignee: Tim Armstrong
I noticed this while playing around on a local minicluster with AC enabled.
The admission controller adds the reason for initial queuing to the profile, but does not expose why the query couldn't execute when it got to the head of the line. E.g. if it was initially queued because the queue was non-empty but then couldn't execute once it got to the head of the line because of memory.
{noformat}
Request Pool: root.queueA
Admission result: Admitted (queued)
Admission queue details: waited 1130 ms, reason: queue is not empty (size 4); queued queries are executed first
{noformat}
We should still include the initial reason for queuing, but also include the most reason for queuing once it got to the head of the line. It's probably most useful to keep the profile updated with the latest reason at all times (since the details can change while the query is at the head of the line).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)