Support Questions
Find answers, ask questions, and share your expertise

Not able to kill running yarn applications from resource manager "kill application" option in HDP 3.0

New Contributor

Not able to kill running yarn applications from resource manager "kill application" option in HDP 3.0. Whenever clicking on that options it ask for confirmation but than do nothing.

4 REPLIES 4

Super Collaborator

Hi @Kunal Agarwal,

you can kill the applications by using yarn command line options.

syntax: yarn application -kill <application id>

Explorer

Hi @Kunal Agarwal,

else you can kill that yarn application with process ID.

ps -ef | grep <application_id>

[it gives process id]

Kill -9 <process Id>

Thanks,

Anji

Mentor

@Kunal Agarwal

The proper way is to locate the application ID in RM Ui and run the below command

$ yarn application -kill application_id

HTH

Contributor

Hi @Kunal Agarwal

Can you check if below property is enable of not ?

  • You can login to Ambari and go to YARN Configs page.
  • Search yarn.resourcemanager.webapp.ui-actions.enabled If it exists, change the value to True.
  • If it does not exist, clear the filter and add it from ‘Custom yarn-site’ then ‘Add Property’ and set the value to true.
  • Save and restart.