You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by je...@apache.org on 2016/08/12 22:49:25 UTC

tez git commit: TEZ-3411. TestShuffleHandler#testSendMapCount should not used hard coded ShuffleHandler port (Kuhu Shukla via jeagles)

Repository: tez
Updated Branches:
  refs/heads/TEZ-3334 aa6ec595b -> 78eee17c6


TEZ-3411. TestShuffleHandler#testSendMapCount should not used hard coded ShuffleHandler port (Kuhu Shukla via jeagles)


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

Branch: refs/heads/TEZ-3334
Commit: 78eee17c6a5dca6a511b82b5ef7f27b630cefdf2
Parents: aa6ec59
Author: Jonathan Eagles <je...@yahoo-inc.com>
Authored: Fri Aug 12 17:49:11 2016 -0500
Committer: Jonathan Eagles <je...@yahoo-inc.com>
Committed: Fri Aug 12 17:49:11 2016 -0500

----------------------------------------------------------------------
 TEZ-3334-CHANGES.txt                                               | 1 +
 .../test/java/org/apache/tez/auxservices/TestShuffleHandler.java   | 2 ++
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/78eee17c/TEZ-3334-CHANGES.txt
----------------------------------------------------------------------
diff --git a/TEZ-3334-CHANGES.txt b/TEZ-3334-CHANGES.txt
index 0628633..493614f 100644
--- a/TEZ-3334-CHANGES.txt
+++ b/TEZ-3334-CHANGES.txt
@@ -4,6 +4,7 @@ Apache Tez Change Log
 INCOMPATIBLE CHANGES:
 
 ALL CHANGES:
+  TEZ-3411. TestShuffleHandler#testSendMapCount should not used hard coded ShuffleHandler port
   TEZ-3412. Modify ShuffleHandler to use Constants.DAG_PREFIX and fix AttemptPathIdentifier#toString()
   TEZ-3410. ShuffleHandler should use Path.SEPARATOR instead "/"
   TEZ-3408. Allow Task Output Files to reside in DAG specific directories for Custom Shuffle Handler

http://git-wip-us.apache.org/repos/asf/tez/blob/78eee17c/tez-plugins/tez-aux-services/src/test/java/org/apache/tez/auxservices/TestShuffleHandler.java
----------------------------------------------------------------------
diff --git a/tez-plugins/tez-aux-services/src/test/java/org/apache/tez/auxservices/TestShuffleHandler.java b/tez-plugins/tez-aux-services/src/test/java/org/apache/tez/auxservices/TestShuffleHandler.java
index 31e32b4..00db3c4 100644
--- a/tez-plugins/tez-aux-services/src/test/java/org/apache/tez/auxservices/TestShuffleHandler.java
+++ b/tez-plugins/tez-aux-services/src/test/java/org/apache/tez/auxservices/TestShuffleHandler.java
@@ -1091,6 +1091,8 @@ public class TestShuffleHandler {
 
     final ShuffleHandler sh = new MockShuffleHandler();
     Configuration conf = new Configuration();
+    // The Shuffle handler port associated with the service is bound to but not used.
+    conf.setInt(ShuffleHandler.SHUFFLE_PORT_CONFIG_KEY, 0);
     sh.init(conf);
     sh.start();
     int maxOpenFiles =conf.getInt(ShuffleHandler.SHUFFLE_MAX_SESSION_OPEN_FILES,