Raghavendra Prabhu wrote:
This is an erro which i did not face yesterday. When i ran the crawl with
updated build today, i got this error



Apply the attached patch (go to the trunk/ dir and execute 'patch -p0 < patch.txt'), and please report if it fixes the problem.

--
Best regards,
Andrzej Bialecki     <><
___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


Index: src/java/org/apache/nutch/crawl/CrawlDbReducer.java
===================================================================
--- src/java/org/apache/nutch/crawl/CrawlDbReducer.java (revision 391269)
+++ src/java/org/apache/nutch/crawl/CrawlDbReducer.java (working copy)
@@ -52,6 +52,7 @@
       switch (datum.getStatus()) {                // find old entry, if any
       case CrawlDatum.STATUS_DB_UNFETCHED:
       case CrawlDatum.STATUS_DB_FETCHED:
+      case CrawlDatum.STATUS_DB_GONE:
         old = datum;
         break;
       case CrawlDatum.STATUS_LINKED:

Reply via email to