Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Job wasn't being run - reported by Alexis: http://www.mail-archive.com/[email protected]/msg01385.html.

Andrzej Bialecki7679b42fe538
diff --git a/src/java/org/apache/nutch/fetcher/FetcherJob.java b/src/java/org/apache/nutch/fetcher/FetcherJob.java
index 8d3dda84b..bfdbf5157 100644
--- a/src/java/org/apache/nutch/fetcher/FetcherJob.java
+++ b/src/java/org/apache/nutch/fetcher/FetcherJob.java
@@ -174,6 +174,7 @@ public class FetcherJob extends NutchTool implements Tool {
} else {
currentJob.setNumReduceTasks(numTasks);
}
+ currentJob.waitForCompletion(true);
ToolUtil.recordJobStatus(null, currentJob, results);
return results;
}