tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hit...@apache.org
Subject tez git commit: TEZ-2299. Invalid dag creation in MRRSleepJob post TEZ-2293. (hitesh)
Date Thu, 09 Apr 2015 20:16:43 GMT
Repository: tez
Updated Branches:
  refs/heads/master 936ff8de0 -> f06240b80


TEZ-2299. Invalid dag creation in MRRSleepJob post TEZ-2293. (hitesh)


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

Branch: refs/heads/master
Commit: f06240b80465fd3fba1590f0304dea1e1ea90129
Parents: 936ff8d
Author: Hitesh Shah <hitesh@apache.org>
Authored: Thu Apr 9 13:16:15 2015 -0700
Committer: Hitesh Shah <hitesh@apache.org>
Committed: Thu Apr 9 13:16:15 2015 -0700

----------------------------------------------------------------------
 CHANGES.txt                                                        | 1 +
 .../main/java/org/apache/tez/mapreduce/examples/MRRSleepJob.java   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/f06240b8/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index cce0919..61dda55 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -9,6 +9,7 @@ INCOMPATIBLE CHANGES
   TEZ-1993. Implement a pluggable InputSizeEstimator for grouping fairly
 
 ALL CHANGES:
+  TEZ-2299. Invalid dag creation in MRRSleepJob post TEZ-2293.
   TEZ-2290. Scale memory for Default Sorter down to a max of 2047 MB if configured higher.
   TEZ-2233. Allow EdgeProperty of an edge to be changed by VertexManager
   TEZ-2293. When running in "mr" mode, always use MR config settings.

http://git-wip-us.apache.org/repos/asf/tez/blob/f06240b8/tez-tests/src/main/java/org/apache/tez/mapreduce/examples/MRRSleepJob.java
----------------------------------------------------------------------
diff --git a/tez-tests/src/main/java/org/apache/tez/mapreduce/examples/MRRSleepJob.java b/tez-tests/src/main/java/org/apache/tez/mapreduce/examples/MRRSleepJob.java
index 7204cb2..9342668 100644
--- a/tez-tests/src/main/java/org/apache/tez/mapreduce/examples/MRRSleepJob.java
+++ b/tez-tests/src/main/java/org/apache/tez/mapreduce/examples/MRRSleepJob.java
@@ -580,7 +580,7 @@ public class MRRSleepJob extends Configured implements Tool {
         partitionerConf.put(
             MRJobConfig.PARTITIONER_CLASS_ATTR, MRRSleepJobPartitioner.class.getName());
         Configuration edgeConfiguration = ((i+1) == vertices.size()) ?
-            finalReduceConf : intermediateReduceStageConfs[i];
+            finalReduceConf : intermediateReduceStageConfs[i-1];
         OrderedPartitionedKVEdgeConfig edgeConf = OrderedPartitionedKVEdgeConfig
             .newBuilder(IntWritable.class.getName(), IntWritable.class.getName(),
                 HashPartitioner.class.getName(), partitionerConf).configureInput().useLegacyInput()


Mime
View raw message