美文网首页
YARN REST API

YARN REST API

作者: 扳掘de | 来源:发表于2016-08-15 13:33 被阅读1128次

先附官网地址


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

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

相关文章

网友评论

      本文标题:YARN REST API

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