Skip to content

Commit

Permalink
Disable speculative execution, since input format has side effects.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/lucene/nutch/trunk@382579 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
cutting committed Mar 3, 2006
1 parent 063a250 commit d2397b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/java/org/apache/nutch/indexer/DeleteDuplicates.java
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ public void dedup(File[] indexDirs)
job.setInputKeyClass(HashScore.class);
job.setInputValueClass(IndexDoc.class);
job.setInputFormat(InputFormat.class);
job.setBoolean("mapred.speculative.execution", false);

job.setPartitionerClass(HashPartitioner.class);
job.setReducerClass(HashReducer.class);
Expand Down

0 comments on commit d2397b1

Please sign in to comment.