hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lavkesh Lahngir (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-6422) Add REST API for getting all attempts for all the tasks
Date Fri, 10 Jul 2015 11:18:04 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-6422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lavkesh Lahngir updated MAPREDUCE-6422:
---------------------------------------
    Attachment: MAPREDUCE-6422.patch

> 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
>         Attachments: MAPREDUCE-6422.patch, MAPREDUCE-6422.patch
>
>
> 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)

Mime
View raw message