Created 06-24-2024 11:40 AM
We want to setup some Impala monitoring and look specifically for queries that have a "Waiting for client" state. I am pretty familiar with the Cloudera Manager API calls to get Impala query information, but can't seem to figure out how to get this particular state. Can someone shed light on how Cloudera Manager itself does it, since I see that status in the Cloudera Manager UI when looking at Impala queries? Thanks, I appreciate any help in advance.
Mark
Created 08-16-2024 10:46 AM
I think I've figured out the solution. In looking at queries in CM using the Impala Queries page and comparing that to what I see in REST API output, it looks like CM shows "Waiting for client" when a query has a finished status but does not have an end time associated with it yet. In all the queries that I saw in CM, the one's that showed "Waiting for client" had a finished status and a start time in the REST API JSON, but did not have an end time. I'm going to "assume" that I have this figured out now, but if anyone has any more insight into this, I would appreciate it.
Created 06-24-2024 06:24 PM
@MarkBoyd05 Welcome to the Cloudera Community!
To help you get the best possible solution, I have tagged our Cloudera Manager experts @upadhyayk04 @Zrahman who may be able to assist you further.
Please keep us updated on your post, and we hope you find a satisfactory solution to your query.
Regards,
Diana Torres,Created 07-29-2024 01:22 PM
Diana -
Thank you for including other experts. I haven't seen any other responses, though. @upadhyayk04 @Zrahman do either of you have any thoughts on this? Thanks!
Mark
Created 08-07-2024 12:08 PM
@bbreak Hi! Do you have any insights here? Thanks!
Regards,
Diana Torres,Created 08-16-2024 10:46 AM
I think I've figured out the solution. In looking at queries in CM using the Impala Queries page and comparing that to what I see in REST API output, it looks like CM shows "Waiting for client" when a query has a finished status but does not have an end time associated with it yet. In all the queries that I saw in CM, the one's that showed "Waiting for client" had a finished status and a start time in the REST API JSON, but did not have an end time. I'm going to "assume" that I have this figured out now, but if anyone has any more insight into this, I would appreciate it.