YARN REST API

先附官网地址


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

GET http:///ws/v1/cluster/apps?queue=dev

查看指定任务的详细信息:

GET http:///ws/v1/cluster/apps/application_1326821518301_0005

监控任务:

curl 'http:///ws/v1/cluster/apps/application_1409421698529_0012/state'

GET http:///ws/v1/cluster/apps/application_1409421698529_0012/state

杀死任务:

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

PUT http:///ws/v1/cluster/apps/application_1399397633663_0003/state

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

GET http:///ws/v1/cluster/scheduler

查询整个集群指标:

GET http:///ws/v1/cluster/metrics

你可能感兴趣的:(YARN REST API)