Support Questions

Find answers, ask questions, and share your expertise

How can I view impala daemons backend in json format.

Contributor

Hi,

 

Can you help me to see impala daemon backend(https://slaved:25000/queries) in json format specifically queries which are in "waiting to be closed"

queries2.png

I browsed internet and found json variables like "num_waiting_queries", "in_flight_query", "state". I wish to learn where I can find the complete json information. There should be some url to access. Thanks.

1 REPLY 1

Contributor

Hi,

 

The queries can be collected through the Cloudera Manager API, as CM automatically collects Impala queries, this way there is no need to visit every Coordinator node one by one. The usage can be found in the Cloudera Manager API documentation, while further endpoints can be found here

 

I believe one of the endpoints you are looking for is impalaQueries:

/clusters/{clusterName}/services/{serviceName}/impalaQueries