Apache Nutch is an extensible and scalable web crawler
Add the number of active threads to the status report.
Andrzej Bialecki2667ab3f865f
diff --git a/src/java/org/apache/nutch/fetcher/Fetcher2.java b/src/java/org/apache/nutch/fetcher/Fetcher2.javaindex 7b7c043ae..d22751bd9 100644--- a/src/java/org/apache/nutch/fetcher/Fetcher2.java+++ b/src/java/org/apache/nutch/fetcher/Fetcher2.java@@ -727,7 +727,7 @@ public class Fetcher2 extends Configured implements MapRunnable {private void reportStatus() throws IOException {String status;long elapsed = (System.currentTimeMillis() - start)/1000;- status =+ status = activeThreads + " threads, " +pages+" pages, "+errors+" errors, "+ Math.round(((float)pages.get()*10)/elapsed)/10.0+" pages/s, "+ Math.round(((((float)bytes.get())*8)/1024)/elapsed)+" kb/s, ";