You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by ed...@apache.org on 2011/02/21 09:26:37 UTC

svn commit: r1072879 - /incubator/hama/trunk/src/examples/org/apache/hama/examples/RandBench.java

Author: edwardyoon
Date: Mon Feb 21 08:26:36 2011
New Revision: 1072879

URL: http://svn.apache.org/viewvc?rev=1072879&view=rev
Log:
Trivial change

Modified:
    incubator/hama/trunk/src/examples/org/apache/hama/examples/RandBench.java

Modified: incubator/hama/trunk/src/examples/org/apache/hama/examples/RandBench.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/examples/org/apache/hama/examples/RandBench.java?rev=1072879&r1=1072878&r2=1072879&view=diff
==============================================================================
--- incubator/hama/trunk/src/examples/org/apache/hama/examples/RandBench.java (original)
+++ incubator/hama/trunk/src/examples/org/apache/hama/examples/RandBench.java Mon Feb 21 08:26:36 2011
@@ -61,10 +61,9 @@ public class RandBench {
         }
 
         bspPeer.sync();
-
-        if ((nSupersteps - 1) == i) {
-          bspPeer.clear();
-        }
+        // clear whole queues entries
+        bspPeer.clear();
+        
       }
     }