tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hit...@apache.org
Subject git commit: TEZ-374. YarnTezDagChild strips important debugging information. (Mark Wagner via hitesh)
Date Mon, 19 Aug 2013 23:28:43 GMT
Updated Branches:
  refs/heads/master f581236b9 -> 67c0c17c4


TEZ-374. YarnTezDagChild strips important debugging information. (Mark Wagner via 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/67c0c17c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tez/tree/67c0c17c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tez/diff/67c0c17c

Branch: refs/heads/master
Commit: 67c0c17c49ff84d8985510b85dc8195decaa8274
Parents: f581236
Author: Hitesh Shah <hitesh@apache.org>
Authored: Mon Aug 19 16:28:04 2013 -0700
Committer: Hitesh Shah <hitesh@apache.org>
Committed: Mon Aug 19 16:28:04 2013 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/mapred/YarnTezDagChild.java | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/67c0c17c/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 846f2e7..859c43b 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
@@ -204,10 +204,7 @@ public class YarnTezDagChild {
       LOG.fatal("Error running child : "
     	        + StringUtils.stringifyException(throwable));
       if (taskAttemptId != null) {
-        Throwable tCause = throwable.getCause();
-        String cause = tCause == null
-                                 ? throwable.getMessage()
-                                 : StringUtils.stringifyException(tCause);
+        String cause = StringUtils.stringifyException(throwable);
         umbilical.fatalError(taskAttemptId, cause);
       }
     } finally {


Mime
View raw message