I have a running Spark application where it occupies all the cores where my other applications won\'t be allocated any resource.
I did some quick research and peopl
https://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_Application_State_API
PUT http://{rm http address:port}/ws/v1/cluster/apps/{appid}/state
{ "state":"KILLED" }