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/22 00:04:38 UTC

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

Thomas Graves created MAPREDUCE-4571:
----------------------------------------

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


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

        

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

Posted by "Thomas Graves (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Graves updated MAPREDUCE-4571:
-------------------------------------

    Attachment: MAPREDUCE-4571.patch

Fix MockCompletedJobs to match the history server PartialJob and have completed=total.  Also fix the test to pass in the full jobs to compare to the webservices full jobs.
                
> 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
>         Attachments: MAPREDUCE-4571.patch
>
>
> 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

        

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

Posted by "Thomas Graves (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Graves updated MAPREDUCE-4571:
-------------------------------------

    Status: Patch Available  (was: Open)
    
> 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
>         Attachments: MAPREDUCE-4571.patch
>
>
> 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

        

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

Posted by "Thomas Graves (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13440415#comment-13440415 ] 

Hadoop QA commented on MAPREDUCE-4571:
--------------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12542145/MAPREDUCE-4571.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 2 new or modified test files.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2764//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2764//console

This message is automatically generated.
                
> 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
>         Attachments: MAPREDUCE-4571.patch
>
>
> 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