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

Liyin Liang updated MAPREDUCE-5684:
-----------------------------------

    Attachment: MAPREDUCE-5684-1.diff

This patch changes the assert to accept both TIPFAILED and FAILED status. 
verifyFailingMapperCounters(job) only if status is TIPFAILED.

> TestMRJobs.testFailingMapper occasionally fails
> -----------------------------------------------
>
>                 Key: MAPREDUCE-5684
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5684
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Liyin Liang
>         Attachments: MAPREDUCE-5684-1.diff
>
>
> TestMRJobs is occasionally failing with the error:
> {code}
> -------------------------------------------------------------------------------
> Test set: org.apache.hadoop.mapreduce.v2.TestMRJobs
> -------------------------------------------------------------------------------
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 323.503 sec 
> <<< FAILURE! - in org.apache.hadoop.mapreduce.v2.TestMRJobs
> testFailingMapper(org.apache.hadoop.mapreduce.v2.TestMRJobs)  Time elapsed: 
> 15.657 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<TIPFAILED> 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.TestMRJobs.testFailingMapper(TestMRJobs.java:313)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to