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 2014/05/22 23:32:00 UTC

svn commit: r1596973 - in /hama/trunk: CHANGES.txt graph/src/main/java/org/apache/hama/graph/GraphJobRunner.java

Author: edwardyoon
Date: Thu May 22 21:31:59 2014
New Revision: 1596973

URL: http://svn.apache.org/r1596973
Log:
HAMA-906: Automatic activation of halted vertices without received messages (edwardyoon)

Modified:
    hama/trunk/CHANGES.txt
    hama/trunk/graph/src/main/java/org/apache/hama/graph/GraphJobRunner.java

Modified: hama/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hama/trunk/CHANGES.txt?rev=1596973&r1=1596972&r2=1596973&view=diff
==============================================================================
--- hama/trunk/CHANGES.txt (original)
+++ hama/trunk/CHANGES.txt Thu May 22 21:31:59 2014
@@ -8,6 +8,7 @@ Release 0.7.0 (unreleased changes)
 
   BUG FIXES
   
+   HAMA-906: Automatic activation of halted vertices without received messages (edwardyoon)
    HAMA-905: Fix Pi Estimator Example (Martin Illecker)
    HAMA-889: NonDefaultIterator of DenseDoubleVector never reaches the end (Yexi Jiang)
    HAMA-888: Add more test cases for DenseDoubleVector (Yexi Jiang)

Modified: hama/trunk/graph/src/main/java/org/apache/hama/graph/GraphJobRunner.java
URL: http://svn.apache.org/viewvc/hama/trunk/graph/src/main/java/org/apache/hama/graph/GraphJobRunner.java?rev=1596973&r1=1596972&r2=1596973&view=diff
==============================================================================
--- hama/trunk/graph/src/main/java/org/apache/hama/graph/GraphJobRunner.java (original)
+++ hama/trunk/graph/src/main/java/org/apache/hama/graph/GraphJobRunner.java Thu May 22 21:31:59 2014
@@ -249,6 +249,8 @@ public final class GraphJobRunner<V exte
       if (currentMessage != null) {
         iterable = iterate(currentMessage, (V) currentMessage.getVertexId(),
             vertex, peer);
+      } else {
+        iterable = null;
       }
 
       if (iterable != null && vertex.isHalted()) {