Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Cancel or close queued queries using Impala JDBC driver

avatar
Contributor

Hi,

 

I have a dashboard application (using Zoomdata) in which we submit queries to a Impala resource pool with limited number of concurrent requests. While we load the dashboard, some queries might get queued if conc. requests limit is reached.

When I change the dashboard time range, I noticed the running queries are properly cancelled, but the queued ones stay in the queue and are going to execute before the new queries submitted.

 

Do you know if there is any Impala JDBC driver property or Impala server setting to be able to cancel queued queries and prevent them from running?

1 ACCEPTED SOLUTION

avatar

We fixed this behaviour in CDH6.1/Impala 3.1 - there was a product limitation that queued queries couldn't be cancelled. After the fix they should be cancellable the same as any other query. For reference, https://issues.apache.org/jira/browse/IMPALA-5216

View solution in original post

2 REPLIES 2

avatar

We fixed this behaviour in CDH6.1/Impala 3.1 - there was a product limitation that queued queries couldn't be cancelled. After the fix they should be cancellable the same as any other query. For reference, https://issues.apache.org/jira/browse/IMPALA-5216

avatar
Contributor
Thanks a lot, Tim!