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

Karthik Kambatla commented on MAPREDUCE-5561:
---------------------------------------------

We see TestJobImpl failing occasionally. As [~ajisakaa] pointed out, it looks 
like a race. 

IIUC, the purpose of the test is to ensure entering FAIL_ABORT doesn't hang. 
Given that we know the job is in FAIL_ABORT, the assert might not be necessary. 
[~jlowe], [~raviprakash] - thoughts? 

> org.apache.hadoop.mapreduce.v2.app.job.impl.TestJobImpl testcase failing on 
> trunk
> ---------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5561
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5561
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Cindy Li
>            Priority: Critical
>         Attachments: 
> org.apache.hadoop.mapreduce.v2.app.job.impl.TestJobImpl-output.txt
>
>
> Running org.apache.hadoop.mapreduce.v2.app.job.impl.TestJobImpl
> Tests run: 15, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 9.029 sec 
> <<< FAILURE! - in org.apache.hadoop.mapreduce.v2.app.job.impl.TestJobImpl
> testFailAbortDoesntHang(org.apache.hadoop.mapreduce.v2.app.job.impl.TestJobImpl)
>   Time elapsed: 5.507 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<FAIL_ABORT> but was:<FAILED>
> at org.junit.Assert.fail(Assert.java:93)
> at org.junit.Assert.failNotEquals(Assert.java:647)
> at org.junit.Assert.assertEquals(Assert.java:128)
> at org.junit.Assert.assertEquals(Assert.java:147)
> at 
> org.apache.hadoop.mapreduce.v2.app.job.impl.TestJobImpl.assertJobState(TestJobImpl.java:817)
> at 
> org.apache.hadoop.mapreduce.v2.app.job.impl.TestJobImpl.testFailAbortDoesntHang(TestJobImpl.java:418)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to