You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by fe...@apache.org on 2012/03/02 14:48:24 UTC
svn commit: r1296203 - in /nutch/branches/nutchgora: CHANGES.txt
src/java/org/apache/nutch/fetcher/FetcherJob.java
Author: ferdy
Date: Fri Mar 2 13:48:24 2012
New Revision: 1296203
URL: http://svn.apache.org/viewvc?rev=1296203&view=rev
Log:
NUTCH-1296 nutchgora fetcher does not show correct 'threads' and 'resuming' properties
Modified:
nutch/branches/nutchgora/CHANGES.txt
nutch/branches/nutchgora/src/java/org/apache/nutch/fetcher/FetcherJob.java
Modified: nutch/branches/nutchgora/CHANGES.txt
URL: http://svn.apache.org/viewvc/nutch/branches/nutchgora/CHANGES.txt?rev=1296203&r1=1296202&r2=1296203&view=diff
==============================================================================
--- nutch/branches/nutchgora/CHANGES.txt (original)
+++ nutch/branches/nutchgora/CHANGES.txt Fri Mar 2 13:48:24 2012
@@ -2,6 +2,8 @@ Nutch Change Log
Release nutchgora - Current Development
+* NUTCH-1296 nutchgora fetcher does not show correct 'threads' and 'resuming' properties (ferdy)
+
* NUTCH-1295 nutchgora restlet dependencies failing when remote repos is down (ferdy)
* NUTCH-965 Skip parsing for truncated documents (alexis, lewismc, ferdy)
Modified: nutch/branches/nutchgora/src/java/org/apache/nutch/fetcher/FetcherJob.java
URL: http://svn.apache.org/viewvc/nutch/branches/nutchgora/src/java/org/apache/nutch/fetcher/FetcherJob.java?rev=1296203&r1=1296202&r2=1296203&view=diff
==============================================================================
--- nutch/branches/nutchgora/src/java/org/apache/nutch/fetcher/FetcherJob.java (original)
+++ nutch/branches/nutchgora/src/java/org/apache/nutch/fetcher/FetcherJob.java Fri Mar 2 13:48:24 2012
@@ -165,6 +165,11 @@ public class FetcherJob extends NutchToo
if (shouldResume != null) {
getConf().setBoolean(RESUME_KEY, shouldResume);
}
+
+ LOG.info("FetcherJob : timelimit set for : " + getConf().getLong("fetcher.timelimit", -1));
+ LOG.info("FetcherJob: threads: " + getConf().getInt(THREADS_KEY, 10));
+ LOG.info("FetcherJob: parsing: " + getConf().getBoolean(PARSE_KEY, false));
+ LOG.info("FetcherJob: resuming: " + getConf().getBoolean(RESUME_KEY, false));
// set the actual time for the timelimit relative
// to the beginning of the whole job and not of a specific task
@@ -205,10 +210,6 @@ public class FetcherJob extends NutchToo
throws Exception {
LOG.info("FetcherJob: starting");
- LOG.info("FetcherJob : timelimit set for : " + getConf().getLong("fetcher.timelimit", -1));
- LOG.info("FetcherJob: threads: " + getConf().getInt(THREADS_KEY, 10));
- LOG.info("FetcherJob: parsing: " + getConf().getBoolean(PARSE_KEY, false));
- LOG.info("FetcherJob: resuming: " + getConf().getBoolean(RESUME_KEY, false));
if (batchId.equals(Nutch.ALL_BATCH_ID_STR)) {
LOG.info("FetcherJob: fetching all");
} else {