美文网首页
Yarn对外接口

Yarn对外接口

作者: 达微 | 来源:发表于2019-05-07 13:42 被阅读0次

查看指定队列的所有任务:
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://forum.huawei.com/enterprise/zh/thread-451687.html

相关文章

网友评论

      本文标题:Yarn对外接口

      本文链接:https://www.haomeiwen.com/subject/aieeoqtx.html