hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5503) TestMRJobClient.testJobClient is failing
Date Tue, 24 Sep 2013 07:57:04 GMT

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

Akira AJISAKA commented on MAPREDUCE-5503:
------------------------------------------

[~jianhe], thanks for taking over!
The patch looks good to me.

One comment, 

{code}
+    runTool(conf, jc, new String[] { "-kill-task", taid.toString() }, out);
+    // Killed task attempt_1379653489982_0002_m_000000_1
+    String answer = new String(out.toByteArray(), "UTF-8");
{code}

The jobID 1379653489982_0002 is different from actual because it contains the unix time when
ResourceManager starts. I think the below comment is more correct.

{code}
// Killed task attempt_<jobID>_m_000000_1
{code}
                
> TestMRJobClient.testJobClient is failing
> ----------------------------------------
>
>                 Key: MAPREDUCE-5503
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5503
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 3.0.0, 2.1.0-beta
>            Reporter: Jason Lowe
>            Assignee: Jian He
>            Priority: Blocker
>         Attachments: MAPREDUCE-5503.patch, MAPREDUCE-5503.patch
>
>
> TestMRJobClient.testJobClient is failing on trunk and causing precommit builds to complain:
> {noformat}
> testJobClient(org.apache.hadoop.mapreduce.TestMRJobClient)  Time elapsed: 26.361 sec
 <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<1> but was:<0>
> 	at junit.framework.Assert.fail(Assert.java:50)
> 	at junit.framework.Assert.failNotEquals(Assert.java:287)
> 	at junit.framework.Assert.assertEquals(Assert.java:67)
> 	at junit.framework.Assert.assertEquals(Assert.java:199)
> 	at junit.framework.Assert.assertEquals(Assert.java:205)
> 	at org.apache.hadoop.mapreduce.TestMRJobClient.testJobList(TestMRJobClient.java:474)
> 	at org.apache.hadoop.mapreduce.TestMRJobClient.testJobClient(TestMRJobClient.java:112)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message