You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by jn...@apache.org on 2014/09/05 11:21:45 UTC
svn commit: r1622649 - in /nutch/branches/2.x: CHANGES.txt
src/java/org/apache/nutch/crawl/GeneratorJob.java
Author: jnioche
Date: Fri Sep 5 09:21:45 2014
New Revision: 1622649
URL: http://svn.apache.org/r1622649
Log:
NUTCH-1829 Generator : unable to distinguish real errors (Mathieu Bouchard via jnioche)
Modified:
nutch/branches/2.x/CHANGES.txt
nutch/branches/2.x/src/java/org/apache/nutch/crawl/GeneratorJob.java
Modified: nutch/branches/2.x/CHANGES.txt
URL: http://svn.apache.org/viewvc/nutch/branches/2.x/CHANGES.txt?rev=1622649&r1=1622648&r2=1622649&view=diff
==============================================================================
--- nutch/branches/2.x/CHANGES.txt (original)
+++ nutch/branches/2.x/CHANGES.txt Fri Sep 5 09:21:45 2014
@@ -2,6 +2,8 @@ Nutch Change Log
Current Development
+* NUTCH-1829 Generator : unable to distinguish real errors (Mathieu Bouchard via jnioche)
+
* NUTCH-1828 bin/crawl : incorrect handling of nutch errors (Mathieu Bouchard via jnioche)
* NUTCH-1693 TextMD5Signature computed on textual content (Tien Nguyen Manh, markus via snagel)
Modified: nutch/branches/2.x/src/java/org/apache/nutch/crawl/GeneratorJob.java
URL: http://svn.apache.org/viewvc/nutch/branches/2.x/src/java/org/apache/nutch/crawl/GeneratorJob.java?rev=1622649&r1=1622648&r2=1622649&view=diff
==============================================================================
--- nutch/branches/2.x/src/java/org/apache/nutch/crawl/GeneratorJob.java (original)
+++ nutch/branches/2.x/src/java/org/apache/nutch/crawl/GeneratorJob.java Fri Sep 5 09:21:45 2014
@@ -281,7 +281,7 @@ public class GeneratorJob extends NutchT
}
try {
- return (generate(topN, curTime, filter, norm) != null) ? 0 : -1;
+ return (generate(topN, curTime, filter, norm) != null) ? 0 : 1;
} catch (Exception e) {
LOG.error("GeneratorJob: " + StringUtils.stringifyException(e));
return -1;