[ https://issues.apache.org/jira/browse/MAPREDUCE-7259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17017056#comment-17017056 ]
Ahmed Hussein commented on MAPREDUCE-7259: ------------------------------------------ The exception error: {code:bash} ------------------------------------------------------------------------------- Test set: org.apache.hadoop.mapreduce.v2.TestSpeculativeExecutionWithMRApp ------------------------------------------------------------------------------- Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 207.595 s <<< FAILURE! - in org.apache.hadoop.mapreduce.v2.TestSpeculativeExecutionWithMRApp testSpeculateSuccessfulWithUpdateEvents[0: TaskEstimator(EstimatorClass class org.apache.hadoop.mapreduce.v2.app.speculate.SimpleExponentialTaskRuntimeEstimator)](org.apache.hadoop.mapreduce.v2.TestSpeculativeExecutionWithMRApp) Time elapsed: 165.266 s <<< FAILURE! java.lang.AssertionError: Timeout while waiting for MRApp to stop at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at org.apache.hadoop.mapreduce.v2.app.MRApp.waitForState(MRApp.java:455) at org.apache.hadoop.mapreduce.v2.TestSpeculativeExecutionWithMRApp.testSpeculateSuccessfulWithUpdateEvents(TestSpeculativeExecutionWithMRApp.java:345) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) {code} > testSpeculateSuccessfulWithUpdateEvents fails Intermittently > -------------------------------------------------------------- > > Key: MAPREDUCE-7259 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-7259 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Ahmed Hussein > Assignee: Ahmed Hussein > Priority: Minor > Attachments: MAPREDUCE-7259.001.patch > > > {{TestSpeculativeExecutionWithMRApp.testSpeculateSuccessfulWithUpdateEvents}} > fails Intermittently with the exponential estimator. The problem happens > because assertion fails waiting for the MRApp to stop. > There maybe a need to redesign the test case because it does not work very > well because of the racing and the timing between the speculator and the > tasks. It works fine for the legacy estimator because the estimate is based > on start-end rate. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org