hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6422) Add REST API for getting all attempts for all the tasks
Date Tue, 07 Jul 2015 11:34:04 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-6422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14616549#comment-14616549
] 

Hadoop QA commented on MAPREDUCE-6422:
--------------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:red}-1{color} | pre-patch |  16m 28s | Pre-patch trunk has 1 extant Findbugs (version
3.0.0) warnings. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any @author tags.
|
| {color:green}+1{color} | tests included |   0m  0s | The patch appears to include 2 new
or modified test files. |
| {color:green}+1{color} | javac |   7m 34s | There were no new javac warning messages. |
| {color:green}+1{color} | javadoc |   9m 36s | There were no new javadoc warning messages.
|
| {color:green}+1{color} | release audit |   0m 24s | The applied patch does not increase
the total number of release audit warnings. |
| {color:red}-1{color} | checkstyle |   0m 49s | The applied patch generated  5 new checkstyle
issues (total was 25, now 24). |
| {color:red}-1{color} | whitespace |   0m  3s | The patch has 2  line(s) that end in whitespace.
Use git apply --whitespace=fix. |
| {color:green}+1{color} | install |   1m 36s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 34s | The patch built with eclipse:eclipse.
|
| {color:green}+1{color} | findbugs |   1m 59s | The patch does not introduce any new Findbugs
(version 3.0.0) warnings. |
| {color:green}+1{color} | mapreduce tests |   9m  4s | Tests passed in hadoop-mapreduce-client-app.
|
| {color:red}-1{color} | mapreduce tests |   4m 59s | Tests failed in hadoop-mapreduce-client-hs.
|
| | |  53m 17s | |
\\
\\
|| Reason || Tests ||
| Failed unit tests | hadoop.mapreduce.v2.hs.TestJobHistoryParsing |
|   | hadoop.mapreduce.v2.hs.webapp.TestHsWebServicesJobs |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | http://issues.apache.org/jira/secure/attachment/12743930/MAPREDUCE-6422.patch
|
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / af63427 |
| Pre-patch Findbugs warnings | https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/5872/artifact/patchprocess/trunkFindbugsWarningshadoop-mapreduce-client-app.html
|
| checkstyle |  https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/5872/artifact/patchprocess/diffcheckstylehadoop-mapreduce-client-app.txt
|
| whitespace | https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/5872/artifact/patchprocess/whitespace.txt
|
| hadoop-mapreduce-client-app test log | https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/5872/artifact/patchprocess/testrun_hadoop-mapreduce-client-app.txt
|
| hadoop-mapreduce-client-hs test log | https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/5872/artifact/patchprocess/testrun_hadoop-mapreduce-client-hs.txt
|
| Test Results | https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/5872/testReport/
|
| Java | 1.7.0_55 |
| uname | Linux asf903.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep
3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/5872/console |


This message was automatically generated.

> 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
>
>
> 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