Mala Chikka Kempanna created IMPALA-6122:
--------------------------------------------

             Summary: Inconsistent listing of queries under webUI/queries page 
for HUE submitted queries
                 Key: IMPALA-6122
                 URL: https://issues.apache.org/jira/browse/IMPALA-6122
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
    Affects Versions: Impala 2.7.0
            Reporter: Mala Chikka Kempanna
         Attachments: select  query enters completed list with exception 
state.png, select count query enters completed list with finished state.png, 
select count query goes into wait to be closed list.png, select query does not 
go into waiting to be closed list.png

On host:25000/queries page , I see different behavior for different queries.
Here for example idle session timeout is set to 2 minutes.

1) Good behavior
    a) When I run "select count(*) from sample_08" query, I see that as soon as 
query returns result on hue, the query is moved into waiting to be closed state 
- file image attached "select count query goes into wait to be closed list.png"
    b) And after expiration of idle session time, the query is moved to 
completed list with FINISHED state. - File image attached "select count query 
enters completed list with finished state.png"

2) Bad behavior

    a) When I run "select * from sample_08" query, I see that even after soon 
the query returns result, the query continues to stay in "in-flight" listing on 
web UI. Image attached "select query does not go into waiting to be closed 
list.png".
This is confusing to end users because, query state shows "FINISHED" but query 
continues to be listed under "in-flight" listing.

b) This query continues to be listed under "in-flight" list until idle session 
expires. This is even ore confusing, because, it is supposed to be listed under 
"waiting to be closed" list when session goes idle.

c) And after expiration of idle session time, this query is moved to completed 
list with EXCEPTION state.


The query status and listing on WEB UI should be uniform for all types of 
queries. This needs to be fixed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to