Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Impala queries - waiting to be closed

Impala queries - waiting to be closed

Rising Star

Hi network,

 

Can anyone list scenarios where in Impala queries goes in "query waiting to be closed stage". i was checking one of IDs webUI and found bunch of queries listed under that section.

 

1. Why queries end up in that category, i guess timeout controls it(yet to do a bit of reading on that ).

2. Is it safe to close them or does that lead to any problems?

 

Regards

1 REPLY 1
Highlighted

Re: Impala queries - waiting to be closed

Cloudera Employee

Queries are in the "waiting to be closed" stage if they are in the EXCEPTION state or if all the rows from the query have been read. In either case, the query needs to be explicitly closed for it to be "completed".

 

https://community.cloudera.com/t5/Support-Questions/Query-Cancel-and-idle-query-timeout-is-not-worki... might be useful as well.

Don't have an account?
Coming from Hortonworks? Activate your account here