2

I need to monitor and statistic impala history queries.

Cloudera manager UI can get impala history queries.

Does impala has any restful api to get history queries?

Aarron Chaos
  • 21
  • 1
  • 2

3 Answers3

2

On my cluster, $MYMACHINE:25000/queries has a list of queries.

jbapple
  • 3,297
  • 1
  • 24
  • 38
0

Yep, it sure does: http://cloudera.github.io/cm_api/apidocs/v10/

A lot of the bugs of this API have gotten worked out over the last few releases.

I am guessing the specific get() you will want will come from here:

http://cloudera.github.io/cm_api/apidocs/v10/path__clusters_-clusterName-services-serviceName-_impalaQueries.html

Yurd
  • 16
  • 1
0

CDH has its own REST METRICS API (the same used for Cloudera Charts):

yobibytes
  • 154
  • 4