Apache Nutch is an extensible and scalable web crawler
Fix for NUTCH-108: eliminate voluminous messages when reconnecting. From Paul Baclace.
Douglass Cuttingf3f08f3c3a9a
diff --git a/src/java/org/apache/nutch/mapred/TaskTracker.java b/src/java/org/apache/nutch/mapred/TaskTracker.javaindex 01e626bd7..86f8314a5 100644--- a/src/java/org/apache/nutch/mapred/TaskTracker.java+++ b/src/java/org/apache/nutch/mapred/TaskTracker.java@@ -287,8 +287,7 @@ public class TaskTracker implements MRConstants, TaskUmbilicalProtocol, MapOutpustaleState = true;}} catch (Exception ex) {- ex.printStackTrace();- LOG.info("Lost connection to JobTracker [" + jobTrackAddr + "]. Retrying...");+ LOG.info("Lost connection to JobTracker [" + jobTrackAddr + "]. ex=" + ex + " Retrying...");try {Thread.sleep(5000);} catch (InterruptedException ie) {