[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karthik Kambatla updated MAPREDUCE-5561:
----------------------------------------

    Attachment: mr-5561-1.patch

Trivial fix that drops the assert. Ran the test multiple times and haven't seen 
it fail - I know that doesn't say much.

[~jlowe], in this particular case, given the purpose of the test is to verify 
we eventually get to the FAILED state, I went ahead with the simpler approach. 

> 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
>            Assignee: Karthik Kambatla
>            Priority: Critical
>         Attachments: mr-5561-1.patch, 
> 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