hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Graves (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4571) TestHsWebServicesJobs fails on jdk7
Date Thu, 23 Aug 2012 15:34:42 GMT

    [ 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

        

Mime
View raw message