tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ss...@apache.org
Subject [12/50] [abbrv] tez git commit: TEZ-2588. Improper argument name (Gabor via zjffdu)
Date Wed, 15 Jul 2015 00:25:45 GMT
TEZ-2588. Improper argument name (Gabor via zjffdu)


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

Branch: refs/heads/TEZ-2003
Commit: cb598513eff75edb1915e58418aae61c7d04589b
Parents: 714461f
Author: Jeff Zhang <zjffdu@apache.org>
Authored: Mon Jul 6 09:55:01 2015 +0800
Committer: Jeff Zhang <zjffdu@apache.org>
Committed: Mon Jul 6 09:55:01 2015 +0800

----------------------------------------------------------------------
 CHANGES.txt                                                      | 1 +
 .../src/main/java/org/apache/tez/dag/records/TezVertexID.java    | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/cb598513/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 3e095c4..7ef0dd4 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -11,6 +11,7 @@ INCOMPATIBLE CHANGES
   TEZ-2468. Change the minimum Java version to Java 7.
 
 ALL CHANGES:
+  TEZ-2588. Improper argument name
   TEZ-2575. Handle KeyValue pairs size which do not fit in a single block.
   TEZ-2599. Dont send obsoleted data movement events to tasks
   TEZ-2542. TezDAGID fromString array length check.

http://git-wip-us.apache.org/repos/asf/tez/blob/cb598513/tez-common/src/main/java/org/apache/tez/dag/records/TezVertexID.java
----------------------------------------------------------------------
diff --git a/tez-common/src/main/java/org/apache/tez/dag/records/TezVertexID.java b/tez-common/src/main/java/org/apache/tez/dag/records/TezVertexID.java
index 93ef551..d30df16 100644
--- a/tez-common/src/main/java/org/apache/tez/dag/records/TezVertexID.java
+++ b/tez-common/src/main/java/org/apache/tez/dag/records/TezVertexID.java
@@ -156,9 +156,9 @@ public class TezVertexID extends TezID {
     return dagId.hashCode() * 530017 + id;
   }
 
-  public static TezVertexID fromString(String taskIdStr) {
+  public static TezVertexID fromString(String vertexIdStr) {
     try {
-      String[] split = taskIdStr.split("_");
+      String[] split = vertexIdStr.split("_");
       String rmId = split[1];
       int appId = TezDAGID.tezAppIdFormat.get().parse(split[2]).intValue();
       int dagId = TezDAGID.tezDagIdFormat.get().parse(split[3]).intValue();


Mime
View raw message