RestAPI获取yarn上的作业信息

#查看指定队列的所有任务:
GET http://<rm http address:port>/ws/v1/cluster/apps?queue=dev
#查看指定任务的详细信息:
GET http://<rm http address:port>/ws/v1/cluster/apps/application_1326821518301_0005
#杀死任务:
PUT http://<rm http address:port>/ws/v1/cluster/apps/application_1399397633663_0003/state

官网ResourceManager REST API’s

原文地址:https://www.cnblogs.com/yoyowin/p/15379094.html