[ https://issues.apache.org/jira/browse/MAPREDUCE-7020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327391#comment-16327391 ]
Jason Lowe commented on MAPREDUCE-7020: --------------------------------------- Checking for a specific exception would fix this particular instance, but I think we should fix the larger issue of subtasks tearing down the AM unexpectedly and therefore losing history. There's already a config property we can check to see if the task is running in uber mode, {{mapreduce.task.uberized}}. {{Task}} can pass that flag to the {{TaskReporter}} when it starts up so the reporter knows whether it should call {{System.exit}} when errors occur. > Task timeout in uber mode can crash AM > -------------------------------------- > > Key: MAPREDUCE-7020 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-7020 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mr-am > Affects Versions: 3.1.0, 3.0.1, 2.10.0, 2.9.1, 2.8.4, 2.7.6 > Reporter: Akira Ajisaka > Assignee: Peter Bacsko > Priority: Major > Attachments: MAPREDUCE-7020-001.patch > > > TestUberAM is failing > {noformat} > java.lang.AssertionError: No AppMaster log found! expected:<1> but was:<2> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at org.junit.Assert.assertEquals(Assert.java:555) > at > org.apache.hadoop.mapreduce.v2.TestMRJobs.testThreadDumpOnTaskTimeout(TestMRJobs.java:1228) > 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) > {noformat} > https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/614/testReport/junit/org.apache.hadoop.mapreduce.v2/TestUberAM/testThreadDumpOnTaskTimeout/ -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org