Cloudera REST Api to fetch Task resource

Getting difficulties to find the correct API and URL to fetch the Task resource against a particular application from Cloudera-Admin (CDH5). I have already checked it's API doc for the same, but unable to find the correct one. Task details was available for CDH4 as below.

https://archive.cloudera.com/cdh4/cdh/4/hadoop/hadoop-yarn/hadoop-yarn-site/MapredAppMasterRest.html#Task_API http:///proxy/application_1326232085508_0004/ws/v1/mapreduce/jobs/job_1326232085508_4_4/task

I am looking for the same with CDH5.

May I have any help on it.

Answers


Is this the one you are searching for: https://archive.cloudera.com/cdh5/cdh/5/hadoop/hadoop-yarn/hadoop-yarn-site/WebServicesIntro.html

http://host.domain.com:8088/proxy/{appid}/ws/v1/mapreduce/jobs/{jobid}/tasks

http://host.domain.com:8088/proxy/{appid}/ws/v1/mapreduce/jobs/{jobid}/tasks/{taskid}/attempts

curl command is used in the examples given. I have removed the appid, jobid and taskid from the example and posted here.


Need Your Help

Fluid compare dates

typo3 fluid

I want to compare two dates. I want to make a condition which checks if the date in my database is older than the date in two days.

How to retrieve column data from an MSSQL Query?

php sql sql-server fetch associative-array

I am trying to use a mssql Query to retrieve an id from a table row.