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

Zhijie Shen commented on MAPREDUCE-5827:
----------------------------------------

[~cnauroth], thanks for suggesting {{GenericTestUtils#waitFor}}. It looks like 
a nice util method, however, it seems to be only used in HDFS test cases 
before. Anyway, I think it's good stuff to be adopted by MR and YARN as well. I 
updated the patch accordingly, though we may not be able to exhaustively 
updating elsewhere. 

> TestSpeculativeExecutionWithMRApp fails
> ---------------------------------------
>
>                 Key: MAPREDUCE-5827
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5827
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>              Labels: test
>         Attachments: MAPREDUCE-5827.1.patch, MAPREDUCE-5827.2.patch
>
>
> {code}
> junit.framework.AssertionFailedError: Couldn't speculate successfully
>       at junit.framework.Assert.fail(Assert.java:50)
>       at junit.framework.Assert.assertTrue(Assert.java:20)
>       at 
> org.apache.hadoop.mapreduce.v2.TestSpeculativeExecutionWithMRApp.testSpeculateSuccessfulWithoutUpdateEvents(TestSpeculativeExecutionWithMRApp.java:122
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to