incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r731994 - /incubator/hama/trunk/src/java/org/apache/hama/mapred/RandomMatrixMap.java
Date Tue, 06 Jan 2009 16:36:04 GMT
Author: edwardyoon
Date: Tue Jan  6 08:36:04 2009
New Revision: 731994

URL: http://svn.apache.org/viewvc?rev=731994&view=rev
Log: (empty)

Modified:
    incubator/hama/trunk/src/java/org/apache/hama/mapred/RandomMatrixMap.java

Modified: incubator/hama/trunk/src/java/org/apache/hama/mapred/RandomMatrixMap.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/mapred/RandomMatrixMap.java?rev=731994&r1=731993&r2=731994&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/mapred/RandomMatrixMap.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/mapred/RandomMatrixMap.java Tue Jan  6 08:36:04
2009
@@ -49,7 +49,7 @@
       for (int j = 0; j < column; j++) {
         vector.set(j, RandomVariable.rand());
       }
-      output.collect(key, new VectorWritable(i, vector));
+      output.collect(new IntWritable(i), new VectorWritable(i, vector));
     }
   }
 



Mime
View raw message