You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by cu...@apache.org on 2005/07/14 23:28:34 UTC

svn commit: r219108 - in /lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs: DataNode.java FSNamesystem.java

Author: cutting
Date: Thu Jul 14 14:28:33 2005
New Revision: 219108

URL: http://svn.apache.org/viewcvs?rev=219108&view=rev
Log:
Don't log every heartbeat.

Modified:
    lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/DataNode.java
    lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/FSNamesystem.java

Modified: lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/DataNode.java
URL: http://svn.apache.org/viewcvs/lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/DataNode.java?rev=219108&r1=219107&r2=219108&view=diff
==============================================================================
--- lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/DataNode.java (original)
+++ lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/DataNode.java Thu Jul 14 14:28:33 2005
@@ -136,7 +136,6 @@
                     // -- Total capacity
                     // -- Bytes remaining
                     //
-		    LOG.info("Sending heartbeat from " + localName);
                     namenode.sendHeartbeat(localName, data.getCapacity(), data.getRemaining());
                     lastHeartbeat = now;
 		}

Modified: lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/FSNamesystem.java
URL: http://svn.apache.org/viewcvs/lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/FSNamesystem.java?rev=219108&r1=219107&r2=219108&view=diff
==============================================================================
--- lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/FSNamesystem.java (original)
+++ lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/FSNamesystem.java Thu Jul 14 14:28:33 2005
@@ -724,7 +724,6 @@
      * 2) Adjust usage stats for future block allocation
      */
     public void gotHeartbeat(UTF8 name, long capacity, long remaining) {
-        LOG.info("Got heartbeat from " + name);
         synchronized (heartbeats) {
             synchronized (datanodeMap) {
                 long capacityDiff = 0;