YARN REST API「建议收藏」

YARN REST API「建议收藏」先附官网地址查看指定队列的所有任务:GEThttp://<rmhttpaddress:port>/ws/v1/cluster/apps?queue=dev查看指定任务的详细信息:GEThttp://<rmhttpaddress:port>/ws/v1/cluster/apps/application_1326821518301_0005监控任务:…

大家好,欢迎来到IT知识分享网。

先附官网地址

查看指定队列的所有任务:

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

监控任务:

curl 'http://<rm http address:port>/ws/v1/cluster/apps/application_1409421698529_0012/state'

GET http://<rm http address:port>/ws/v1/cluster/apps/application_1409421698529_0012/state

杀死任务:

curl -v -X PUT -d '{"state": "KILLED"}''http://<rm http address:port>/ws/v1/cluster/apps/application_1409421698529_0012'

PUT http://<rm http address:port>/ws/v1/cluster/apps/application_1399397633663_0003/state

查询集群调度器详情(包含队列详情):

GET http://<rm http address:port>/ws/v1/cluster/scheduler

查询整个集群指标:

GET http://<rm http address:port>/ws/v1/cluster/metrics

原文链接:https://www.jianshu.com/p/960730280850

免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://yundeesoft.com/24364.html

(0)

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

关注微信