tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hit...@apache.org
Subject [2/2] git commit: TEZ-662. Fix YarnTezDAGChild to log exception on exit. (hitesh)
Date Fri, 06 Dec 2013 02:03:54 GMT
TEZ-662. Fix YarnTezDAGChild to log exception on exit. (hitesh)


Project: http://git-wip-us.apache.org/repos/asf/incubator-tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tez/commit/c250b5b9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tez/tree/c250b5b9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tez/diff/c250b5b9

Branch: refs/heads/master
Commit: c250b5b9d137973789e6fa587ff33dfb601d5551
Parents: f63a221
Author: Hitesh Shah <hitesh@apache.org>
Authored: Thu Dec 5 18:03:33 2013 -0800
Committer: Hitesh Shah <hitesh@apache.org>
Committed: Thu Dec 5 18:03:33 2013 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/mapred/YarnTezDagChild.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/c250b5b9/tez-dag/src/main/java/org/apache/hadoop/mapred/YarnTezDagChild.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/main/java/org/apache/hadoop/mapred/YarnTezDagChild.java b/tez-dag/src/main/java/org/apache/hadoop/mapred/YarnTezDagChild.java
index d2ff43c..9fa0853 100644
--- a/tez-dag/src/main/java/org/apache/hadoop/mapred/YarnTezDagChild.java
+++ b/tez-dag/src/main/java/org/apache/hadoop/mapred/YarnTezDagChild.java
@@ -137,7 +137,7 @@ public class YarnTezDagChild {
               // Irrecoverable error unless heartbeat sync can be re-established
               LOG.error("Heartbeat error in communicating with AM. ", e);
               if (e instanceof Error) {
-                LOG.error("Exception of type Error. Exiting now");
+                LOG.error("Exception of type Error. Exiting now", e);
                 ExitUtil.terminate(-1, e);
               }
               heartbeatErrorException = e;
@@ -360,7 +360,7 @@ public class YarnTezDagChild {
           LOG.fatal("Failed to communicate task attempt failure to AM via"
               + " umbilical", t);
           if (t instanceof Error) {
-            LOG.error("Exception of type Error. Exiting now");
+            LOG.error("Exception of type Error. Exiting now", t);
             ExitUtil.terminate(-1, t);
           }
           // FIXME NEWTEZ maybe send a container failed event to AM?
@@ -548,7 +548,7 @@ public class YarnTezDagChild {
     } catch (Throwable throwable) {
       // Heartbeats controlled manually after this.
       if (throwable instanceof Error) {
-        LOG.error("Exception of type Error. Exiting now");
+        LOG.error("Exception of type Error. Exiting now", throwable);
         ExitUtil.terminate(-1, throwable);
       }
       stopped.set(true);


Mime
View raw message