hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r1571961 - in /hama/trunk/examples/src: main/java/org/apache/hama/examples/PageRank.java test/java/org/apache/hama/examples/SemiClusterMatchingTest.java
Date Wed, 26 Feb 2014 08:41:40 GMT
Author: edwardyoon
Date: Wed Feb 26 08:41:40 2014
New Revision: 1571961

URL: http://svn.apache.org/r1571961
Log:
delete useless codes 

Modified:
    hama/trunk/examples/src/main/java/org/apache/hama/examples/PageRank.java
    hama/trunk/examples/src/test/java/org/apache/hama/examples/SemiClusterMatchingTest.java

Modified: hama/trunk/examples/src/main/java/org/apache/hama/examples/PageRank.java
URL: http://svn.apache.org/viewvc/hama/trunk/examples/src/main/java/org/apache/hama/examples/PageRank.java?rev=1571961&r1=1571960&r2=1571961&view=diff
==============================================================================
--- hama/trunk/examples/src/main/java/org/apache/hama/examples/PageRank.java (original)
+++ hama/trunk/examples/src/main/java/org/apache/hama/examples/PageRank.java Wed Feb 26 08:41:40
2014
@@ -78,7 +78,6 @@ public class PageRank {
       
       if (globalError != null && this.getSuperstepCount() > 2
           && MAXIMUM_CONVERGENCE_ERROR > globalError.get()) {
-        System.out.println(globalError);
         voteToHalt();
       } else {
         // in each superstep we are going to send a new rank to our neighbours

Modified: hama/trunk/examples/src/test/java/org/apache/hama/examples/SemiClusterMatchingTest.java
URL: http://svn.apache.org/viewvc/hama/trunk/examples/src/test/java/org/apache/hama/examples/SemiClusterMatchingTest.java?rev=1571961&r1=1571960&r2=1571961&view=diff
==============================================================================
--- hama/trunk/examples/src/test/java/org/apache/hama/examples/SemiClusterMatchingTest.java
(original)
+++ hama/trunk/examples/src/test/java/org/apache/hama/examples/SemiClusterMatchingTest.java
Wed Feb 26 08:41:40 2014
@@ -241,7 +241,6 @@ public class SemiClusterMatchingTest ext
       semiClusterJob.setInputPath(new Path(INPUT));
       semiClusterJob.setOutputPath(new Path(OUTPUT));
       semiClusterJob.set("hama.graph.self.ref", "true");
-      semiClusterJob.set("hama.graph.repair", "true");
       semiClusterJob.setVertexIDClass(Text.class);
       semiClusterJob.setVertexValueClass(SemiClusterMessage.class);
       semiClusterJob.setEdgeValueClass(DoubleWritable.class);



Mime
View raw message