Yarn API:
1. 查询整个yarn集群指标:
GET http://{cluster_domain_name}|{rm_ip:8088}/ws/v1/metrics
2. 查看指定队列的所有任务:
GET http://{cluster_domain_name}/{rm_ip:8088}/ws/v1/cluster/apps?queue=default
3. 查看指定任务的详细信息:
GET http://{cluster_domain_name}/{rm_ip:8088}/ws/v1/cluster/apps/appId
4. 监控任务:
GET http://{cluster_domain_name}/{rm_ip:8088}/ws/v1/cluster/apps/appId/state
5. 查询集群调度器详情(包含队列详情):
GET http://{cluster_domain_name}/{rm_ip:8088}/ws/v1/cluster/scheduler
标签:domain,http,GET,ip,Yarn,cluster,API,rm From: https://www.cnblogs.com/weizaiyan/p/16802353.html