tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zjf...@apache.org
Subject tez git commit: TEZ-2906. Compilation fails with hadoop 2.2.0 (zjffdu)
Date Thu, 29 Oct 2015 00:03:46 GMT
Repository: tez
Updated Branches:
  refs/heads/master cf8ed2929 -> 233928445


TEZ-2906. Compilation fails with hadoop 2.2.0 (zjffdu)


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

Branch: refs/heads/master
Commit: 2339284458aab0c4fa1bdef54e5db07fd8ca760d
Parents: cf8ed29
Author: Jeff Zhang <zjffdu@apache.org>
Authored: Thu Oct 29 08:03:33 2015 +0800
Committer: Jeff Zhang <zjffdu@apache.org>
Committed: Thu Oct 29 08:03:33 2015 +0800

----------------------------------------------------------------------
 CHANGES.txt                                                       | 2 ++
 .../src/test/java/org/apache/tez/dag/app/TestDAGAppMaster.java    | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/23392844/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 07a5812..5331cdd 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -6,6 +6,7 @@ Release 0.8.2: Unreleased
 INCOMPATIBLE CHANGES
 
 ALL CHANGES:
+  TEZ-2906. Compilation fails with hadoop 2.2.0
   TEZ-2900. Ignore V_INPUT_DATA_INFORMATION when vertex is in Failed/Killed/Error
   TEZ-2244. PipelinedSorter: Progressive allocation for sort-buffers
   TEZ-2904. Pig can't specify task specific command opts
@@ -226,6 +227,7 @@ Release 0.7.1: Unreleased
 INCOMPATIBLE CHANGES
 
 ALL CHANGES
+  TEZ-2906. Compilation fails with hadoop 2.2.0
   TEZ-2900. Ignore V_INPUT_DATA_INFORMATION when vertex is in Failed/Killed/Error
   TEZ-2904. Pig can't specify task specific command opts
   TEZ-2899. Tez UI: DAG getting created with huge horizontal gap in between vertices

http://git-wip-us.apache.org/repos/asf/tez/blob/23392844/tez-dag/src/test/java/org/apache/tez/dag/app/TestDAGAppMaster.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/test/java/org/apache/tez/dag/app/TestDAGAppMaster.java b/tez-dag/src/test/java/org/apache/tez/dag/app/TestDAGAppMaster.java
index a81c964..3ea5ba4 100644
--- a/tez-dag/src/test/java/org/apache/tez/dag/app/TestDAGAppMaster.java
+++ b/tez-dag/src/test/java/org/apache/tez/dag/app/TestDAGAppMaster.java
@@ -358,6 +358,7 @@ public class TestDAGAppMaster {
     testDagCredentials(true);
   }
 
+  @SuppressWarnings("deprecation")
   private void testDagCredentials(boolean doMerge) throws IOException {
     TezConfiguration conf = new TezConfiguration();
     conf.setBoolean(TezConfiguration.TEZ_AM_CREDENTIALS_MERGE, doMerge);
@@ -393,7 +394,7 @@ public class TestDAGAppMaster {
         .writeDelimitedTo(sessionJarsPBOutStream);
     sessionJarsPBOutStream.close();
     DAGAppMaster am = new DAGAppMaster(attemptId,
-        ContainerId.newContainerId(attemptId, 1),
+        ContainerId.newInstance(attemptId, 1),
         "127.0.0.1", 0, 0, new SystemClock(), 1, true,
         TEST_DIR.toString(), new String[] {TEST_DIR.toString()},
         new String[] {TEST_DIR.toString()},


Mime
View raw message