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/06/21 09:49:56 UTC
svn commit: r1137897 -
/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java
Author: edwardyoon
Date: Tue Jun 21 07:49:56 2011
New Revision: 1137897
URL: http://svn.apache.org/viewvc?rev=1137897&view=rev
Log:
Add TODO comments.
Modified:
incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java
Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java?rev=1137897&r1=1137896&r2=1137897&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java Tue Jun 21 07:49:56 2011
@@ -216,9 +216,11 @@ public class BSPPeer implements Watcher,
localQueue = localQueueForNextIteration;
localQueueForNextIteration = new ConcurrentLinkedQueue<BSPMessage>();
- // TODO: This is a quite tricky solution of HAMA-387.
+ // TODO: This is a quite temporary solution of HAMA-387.
// When zk.getChildren() response is slower than 200 milliseconds,
// BSP system will be hanged.
+
+ // We have to consider another way to avoid this problem.
if ((System.currentTimeMillis() - startTime) < 200) {
Thread.sleep(200); // at least wait
}