简体   繁体   English

如何通过REST API获取所有mapreduce作业的状态?

[英]How to get all mapreduce jobs' status through REST API?

I am using CDH 5.2.1 and I'd like to retrieve all jobs' status through REST API, but after reading related documents I found that all similar REST APIs must specify an application_id or job_id , which means just one job's status can be retrieved one time through REST API. 我正在使用CDH 5.2.1,我想通过REST API检索所有作业的状态,但是在阅读相关文档后,我发现所有类似的REST API都必须指定application_idjob_id ,这意味着只能检索一个作业的状态一次通过REST API。

So are there REST APIs through which we can retrieve all job's status? 那么是否有REST API可以用来检索所有作业的状态?

The REST API related to ResourseManager has to be used for getting the list of all applications/jobs running in the cluster. 与ResourseManager相关的REST API必须用于获取集群中正在运行的所有应用程序/作业的列表。 Here is the API for the same. 是相同的API。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何通过 spark REST API 获取所有作业状态? - How to get all jobs status through spark REST API? 如何使用Apache ManifoldCF通过REST API获取“文档状态”数据 - How to get “Document status” data through REST API with Apache ManifoldCF 如何使用python中的REST API在shopify中获取具有发货状态的所有订单? - How to get all the orders in shopify with fulfillment status as shipped using REST API in python? 从Jenkins REST API获取所有作业构建的构建详细信息 - Get build details for all builds of all jobs from Jenkins REST API 如何取消jenkins中的构建队列作业,这些作业不是由jenkins启动的,而是通过REST API在其构建队列中 - how to cancel build queue jobs in jenkins, which are not started by jenkins and are in its build queue through REST API 休息Api以获得产品如何通过过滤器的“状态”和“可见性” - Rest Api to get Products how to pass filter “status” and “visibility” 如何通过 REST API 获取 sharepoint 文件的签出状态 - How to get the checkout status of a sharepoint file over REST API 通过REST API获取堆栈状态,而不在devstack中提及租户/项目ID - Get stack status through REST API without mentioning Tenant/Project id in devstack 如何在 C# 中使用 REST API 获取 Azure 批处理池和作业列表? - How to get list of Azure Batch Pools and Jobs using REST API in C#? PowerShell(或REST API)可在基于ARM的Azure Site Recovery Vault中获取所有受保护项目的状态 - PowerShell (or REST API) to get the status of all Protected Items in an ARM based Azure Site Recovery Vault
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM