hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r1679357 - /hama/trunk/core/src/test/java/org/apache/hama/bsp/TestKeyValueTextInputFormat.java
Date Thu, 14 May 2015 12:33:14 GMT
Author: edwardyoon
Date: Thu May 14 12:33:14 2015
New Revision: 1679357

URL: http://svn.apache.org/r1679357
Log: (empty)

Modified:
    hama/trunk/core/src/test/java/org/apache/hama/bsp/TestKeyValueTextInputFormat.java

Modified: hama/trunk/core/src/test/java/org/apache/hama/bsp/TestKeyValueTextInputFormat.java
URL: http://svn.apache.org/viewvc/hama/trunk/core/src/test/java/org/apache/hama/bsp/TestKeyValueTextInputFormat.java?rev=1679357&r1=1679356&r2=1679357&view=diff
==============================================================================
--- hama/trunk/core/src/test/java/org/apache/hama/bsp/TestKeyValueTextInputFormat.java (original)
+++ hama/trunk/core/src/test/java/org/apache/hama/bsp/TestKeyValueTextInputFormat.java Thu
May 14 12:33:14 2015
@@ -78,6 +78,9 @@ public class TestKeyValueTextInputFormat
 
         int expectedPeerId = Math.abs(key.hashCode() % numTasks);
 
+        System.out.println(peer.getPeerName() + ": " + key + ", " + value + ", " + expectedPeerId);
+        
+        /*
         if (expectedPeerId == peer.getPeerIndex()) {
           expectedKeys.put(new Text(key), new Text(value));
         } else {
@@ -86,6 +89,7 @@ public class TestKeyValueTextInputFormat
               new BooleanWritable(true));
           break;
         }
+        */
       }
       message.put(new Text(KeyValueHashPartitionedBSP.TEST_INPUT_VALUES),
           expectedKeys);



Mime
View raw message