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 "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2013/10/04 02:21:42 UTC

[jira] [Commented] (MAPREDUCE-5561) org.apache.hadoop.mapreduce.v2.app.job.impl.TestJobImpl testcase failing on trunk

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

Akira AJISAKA commented on MAPREDUCE-5561:
------------------------------------------

I reproduced this.

According to the end of the attachment, it seems that CommitterEventHandler had transitioned jobInternalState from FAIL_ABORT to FAILED before assertion.

{noformat}
2013-10-03 15:17:58,409 INFO  [AsyncDispatcher event handler] impl.JobImpl (JobImpl.java:handle(984)) - job_1234567890000_0001Job Transitioned from SETUP to FAIL_ABORT
2013-10-03 15:17:58,409 INFO  [CommitterEvent Processor #1] commit.CommitterEventHandler (CommitterEventHandler.java:run(210)) - Processing the event EventType: JOB_ABORT
2013-10-03 15:17:58,409 INFO  [AsyncDispatcher event handler] impl.JobImpl (JobImpl.java:handle(984)) - job_1234567890000_0001Job Transitioned from FAIL_ABORT to FAILED
{noformat}
I think CommitterEventHandler might be stopped when failing the task and it start after assertion.


> 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.1.2-beta
>            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)