[
https://issues.apache.org/jira/browse/MAPREDUCE-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200504#comment-13200504
]
Hudson commented on MAPREDUCE-3723:
-----------------------------------
Integrated in Hadoop-Common-0.23-Commit #488 (See
[https://builds.apache.org/job/Hadoop-Common-0.23-Commit/488/])
MAPREDUCE-3723. TestAMWebServicesJobs & TestHSWebServicesJobs incorrectly
asserting tests (Bhallamudi Venkata Siva Kamesh via mahadev) - Merging r1240590
from trunk.
mahadev :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1240591
Files :
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
*
/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/v2/app/webapp/TestAMWebServicesJobs.java
*
/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/webapp/TestHsWebServicesJobs.java
> TestAMWebServicesJobs & TestHSWebServicesJobs incorrectly asserting tests
> -------------------------------------------------------------------------
>
> Key: MAPREDUCE-3723
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3723
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2, test, webapps
> Affects Versions: 0.23.1, 0.24.0
> Reporter: Bhallamudi Venkata Siva Kamesh
> Assignee: Bhallamudi Venkata Siva Kamesh
> Fix For: 0.23.1
>
> Attachments: MAPREDUCE-3723.patch
>
>
> While testing a patch for one of the MR issues, I found TestAMWebServicesJobs
> & TestHSWebServicesJobs incorrectly asserting tests.
> Moreover tests may fail if
> {noformat}
> index of counterGroups > #counters in a particular counterGroup
> {noformat}
> {code:title=TestAMWebServicesJobs.java|borderStyle=solid}
> for (int j = 0; j < counters.length(); j++) {
> JSONObject counter = counters.getJSONObject(i);
> {code}
> where is *i* is index of outer loop. It should be *j* instead of *i*.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira