You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Lavkesh Lahngir (JIRA)" <ji...@apache.org> on 2015/07/01 13:25:04 UTC
[jira] [Created] (MAPREDUCE-6422) Add REST API for getting all
attempts for all the tasks
Lavkesh Lahngir created MAPREDUCE-6422:
------------------------------------------
Summary: Add REST API for getting all attempts for all the tasks
Key: MAPREDUCE-6422
URL: https://issues.apache.org/jira/browse/MAPREDUCE-6422
Project: Hadoop Map/Reduce
Issue Type: New Feature
Reporter: Lavkesh Lahngir
Assignee: Lavkesh Lahngir
Web UI has the feature where one can get all attempts for all map tasks or reduce tasks.
REST api seems to be missing it.
Should we add this in both HsWebService and AMWebService ?
{code}
@GET
@Path("/mapreduce/jobs/{jobid}/tasks/attempts")
@Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
public JobTaskAttemptsInfo getAllJobTaskAttempts(@Context HttpServletRequest hsr,
@PathParam("jobid") String jid, @QueryParam("type") String type) {
}
{code}
We might also add queryparam on state to filter by succeeded attempts etc.
Thoughts ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)