incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r1022844 - /incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPPeer.java
Date Fri, 15 Oct 2010 07:21:24 GMT
Author: edwardyoon
Date: Fri Oct 15 07:21:24 2010
New Revision: 1022844

URL: http://svn.apache.org/viewvc?rev=1022844&view=rev
Log:
Add logging code to send() method for debugging purposes

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=1022844&r1=1022843&r2=1022844&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 Fri Oct 15 07:21:24 2010
@@ -136,7 +136,7 @@ public class BSPPeer implements Watcher,
   @Override
   public void send(InetSocketAddress hostname, BSPMessage msg)
       throws IOException {
-
+    LOG.debug("Send bytes (" + msg.getData().toString() + ") to " + hostname.getHostName());
     ConcurrentLinkedQueue<BSPMessage> queue = outgoingQueues.get(hostname);
     if (queue == null) {
       queue = new ConcurrentLinkedQueue<BSPMessage>();



Mime
View raw message