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.

Killing Impala query using CM API

Highlighted

Killing Impala query using CM API

Can somebody please help me how to kill impala query using CM API? Thanks

5 REPLIES 5
Highlighted

Re: Killing Impala query using CM API

Now i can able to filter and get the query id for query which is running more than particular threshold value using cloudera manager API.

 

With that query id can somebody help me how to kill it?

Re: Killing Impala query using CM API

Explorer

Hi,

Please tell me how to find queries as per pool or specific user using CM API. It will be a great help.

Highlighted

Re: Killing Impala query using CM API

Guru
Highlighted

Re: Killing Impala query using CM API

Explorer

Hi,

 

I have tried that. It will give cancelled queries. But I want to fetch Impala queries of a specific user using his userid through CM API. 

Highlighted

Re: Killing Impala query using CM API

Guru
@SatyamKumar,

I thought you want to kill/cancel an impala query? Or I misunderstood your question?

You can't fetch impala query based on users, you have to fetch using a known queryId using below API:
https://cloudera.github.io/cm_api/apidocs/v19/path__clusters_-clusterName-_services_-serviceName-_im...

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