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 "Thomas Graves (JIRA)" <ji...@apache.org> on 2012/08/23 17:34:42 UTC

[jira] [Commented] (MAPREDUCE-4571) TestHsWebServicesJobs fails on jdk7

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

Thomas Graves commented on MAPREDUCE-4571:
------------------------------------------

The issue here is that is seems the PartialJob and the MockCompletedJob do not return the same things.  The Partial jobs assumes totalMaps = completedmaps, presumably since its in the job history server.  The MockCompletedJob has totalMaps=1 and completedMaps=0.  The test that is failing was passing the partial job in to compare to webservices output of full job.  So need to fix the test to pass in the full job to verify against.

It looks like it worked with jdk6 because it just so happened that the mock job created has both total and completed as 1. If you run that one Testcase by itself with jdk6, then it fails since it hasn't cycled through creating other jobs first.
                
> TestHsWebServicesJobs fails on jdk7
> -----------------------------------
>
>                 Key: MAPREDUCE-4571
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4571
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: webapps
>    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>              Labels: java7
>
> TestHsWebServicesJobs fails on jdk7. 
> Tests run: 22, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.561 sec <<< FAILURE!testJobIdSlash(org.apache.hadoop.mapreduce.v2.hs.webapp.TestHsWebServicesJobs)  Time elapsed: 0.334 sec  <<< FAILURE!
> java.lang.AssertionError: mapsTotal incorrect expected:<0> but was:<1>

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