nutch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si...@apache.org
Subject svn commit: r415165 - /lucene/nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java
Date Sun, 18 Jun 2006 18:28:46 GMT
Author: siren
Date: Sun Jun 18 11:28:45 2006
New Revision: 415165

URL: http://svn.apache.org/viewvc?rev=415165&view=rev
Log:
replace setting of configuration variable as string literal with api call

Modified:
    lucene/nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java

Modified: lucene/nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java
URL: http://svn.apache.org/viewvc/lucene/nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java?rev=415165&r1=415164&r2=415165&view=diff
==============================================================================
--- lucene/nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java (original)
+++ lucene/nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java Sun Jun 18 11:28:45
2006
@@ -391,7 +391,7 @@
     job.setBoolean("fetcher.parse", parsing);
 
     // for politeness, don't permit parallel execution of a single task
-    job.setBoolean("mapred.speculative.execution", false);
+    job.setSpeculativeExecution(false);
 
     job.setInputPath(new Path(segment, CrawlDatum.GENERATE_DIR_NAME));
     job.setInputFormat(InputFormat.class);



Mime
View raw message