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:23:20 UTC
svn commit: r1622650 - in /nutch/trunk: CHANGES.txt
src/java/org/apache/nutch/crawl/Generator.java
Author: jnioche
Date: Fri Sep 5 09:23:20 2014
New Revision: 1622650
URL: http://svn.apache.org/r1622650
Log:
NUTCH-1829 Generator : unable to distinguish real errors (Mathieu Bouchard via jnioche)
Modified:
nutch/trunk/CHANGES.txt
nutch/trunk/src/java/org/apache/nutch/crawl/Generator.java
Modified: nutch/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/nutch/trunk/CHANGES.txt?rev=1622650&r1=1622649&r2=1622650&view=diff
==============================================================================
--- nutch/trunk/CHANGES.txt (original)
+++ nutch/trunk/CHANGES.txt Fri Sep 5 09:23:20 2014
@@ -1,6 +1,8 @@
Nutch Change Log
Nutch Current Development
+
+* NUTCH-1829 Generator : unable to distinguish real errors (Mathieu Bouchard via jnioche)
* NUTCH-1835 Nutch's Solr schema doesn't work with Solr 4.9 because of the RealTimeGet handler (mattmann)
Modified: nutch/trunk/src/java/org/apache/nutch/crawl/Generator.java
URL: http://svn.apache.org/viewvc/nutch/trunk/src/java/org/apache/nutch/crawl/Generator.java?rev=1622650&r1=1622649&r2=1622650&view=diff
==============================================================================
--- nutch/trunk/src/java/org/apache/nutch/crawl/Generator.java (original)
+++ nutch/trunk/src/java/org/apache/nutch/crawl/Generator.java Fri Sep 5 09:23:20 2014
@@ -708,7 +708,7 @@ public class Generator extends Configure
try {
Path[] segs = generate(dbDir, segmentsDir, numFetchers, topN, curTime, filter,
norm, force, maxNumSegments);
- if (segs == null) return -1;
+ if (segs == null) return 1;
} catch (Exception e) {
LOG.error("Generator: " + StringUtils.stringifyException(e));
return -1;