You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by hi...@apache.org on 2013/12/06 03:03:53 UTC

[1/2] git commit: TEZ-653. Adding maven-compiler-plugin to pom.xml to force -source option to JVM. (Tsuyoshi Ozawa via hitesh)

Updated Branches:
  refs/heads/master 47e897922 -> c250b5b9d


TEZ-653. Adding maven-compiler-plugin to pom.xml to force -source option to JVM. (Tsuyoshi Ozawa 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/f63a2215
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tez/tree/f63a2215
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tez/diff/f63a2215

Branch: refs/heads/master
Commit: f63a22157104d9673e569d07eb985a6964180dc9
Parents: 47e8979
Author: Hitesh Shah <hi...@apache.org>
Authored: Thu Dec 5 18:01:44 2013 -0800
Committer: Hitesh Shah <hi...@apache.org>
Committed: Thu Dec 5 18:01:44 2013 -0800

----------------------------------------------------------------------
 pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/f63a2215/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 99a3bb7..d0254ed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -267,6 +267,15 @@
       <plugins>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>3.1</version>
+          <configuration>
+            <source>1.6</source>
+            <target>1.6</target>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-jar-plugin</artifactId>
           <version>2.3.1</version>
           <executions>


[2/2] git commit: TEZ-662. Fix YarnTezDAGChild to log exception on exit. (hitesh)

Posted by hi...@apache.org.
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 <hi...@apache.org>
Authored: Thu Dec 5 18:03:33 2013 -0800
Committer: Hitesh Shah <hi...@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);