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-2000. Source vertex exists error during DAG submission. (zjffdu)
Date Fri, 30 Jan 2015 05:31:12 GMT
Repository: tez
Updated Branches:
  refs/heads/master fe6141665 -> a1c851897


TEZ-2000. Source vertex exists error during DAG submission. (zjffdu)


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

Branch: refs/heads/master
Commit: a1c85189756342240070f2ef86eadfde8a53b4a8
Parents: fe61416
Author: Jeff Zhang <zjffdu@apache.org>
Authored: Fri Jan 30 13:30:54 2015 +0800
Committer: Jeff Zhang <zjffdu@apache.org>
Committed: Fri Jan 30 13:30:54 2015 +0800

----------------------------------------------------------------------
 CHANGES.txt                                            | 1 +
 tez-api/src/main/java/org/apache/tez/dag/api/Edge.java | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/a1c85189/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index ae05766..f1d67d0 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -7,6 +7,7 @@ Release 0.7.0: Unreleased
 INCOMPATIBLE CHANGES
 
 ALL CHANGES:
+  TEZ-2000. Source vertex exists error during DAG submission.
   TEZ-2008. Add methods to SecureShuffleUtils to verify a reply based on a provided Key.
   TEZ-1995. Build failure against hadoop 2.2.
   TEZ-1997. Remove synchronization DefaultSorter::isRLENeeded() (Causes sorter to hang indefinitely
in large jobs).

http://git-wip-us.apache.org/repos/asf/tez/blob/a1c85189/tez-api/src/main/java/org/apache/tez/dag/api/Edge.java
----------------------------------------------------------------------
diff --git a/tez-api/src/main/java/org/apache/tez/dag/api/Edge.java b/tez-api/src/main/java/org/apache/tez/dag/api/Edge.java
index 3e9eab0..db509f7 100644
--- a/tez-api/src/main/java/org/apache/tez/dag/api/Edge.java
+++ b/tez-api/src/main/java/org/apache/tez/dag/api/Edge.java
@@ -89,7 +89,8 @@ public class Edge {
    */
   @Private
   public String getId() {
-    return String.valueOf(this.hashCode());
+    // ensure it is unique.
+    return String.valueOf(System.identityHashCode(this));
   }
  
   @Override


Mime
View raw message