Apache Nutch is an extensible and scalable web crawler
NUTCH-711 - Indexer failing after upgrade to Hadoop 0.19.1. This is a temporary fix, to be revisited later.
Andrzej Bialeckie9ffa7f9d437
diff --git a/CHANGES.txt b/CHANGES.txtindex df84eb45b..b27b72df6 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -374,6 +374,8 @@ Unreleased changes (1.0-dev)140. NUTCH-669 - Consolidate code for Fetcher and Fetcher2 (siren)+141. NUTCH-711 - Indexer failing after upgrade to Hadoop 0.19.1 (ab)+Release 0.9 - 2007-04-02diff --git a/src/java/org/apache/nutch/indexer/IndexerOutputFormat.java b/src/java/org/apache/nutch/indexer/IndexerOutputFormat.javaindex ba7f1a00e..211d4a615 100644--- a/src/java/org/apache/nutch/indexer/IndexerOutputFormat.java+++ b/src/java/org/apache/nutch/indexer/IndexerOutputFormat.java@@ -31,6 +31,10 @@ public class IndexerOutputFormat extends FileOutputFormat<Text, NutchDocument> {@Overridepublic RecordWriter<Text, NutchDocument> getRecordWriter(FileSystem ignored,JobConf job, String name, Progressable progress) throws IOException {++ // populate JobConf with field indexing options+ IndexingFilters filters = new IndexingFilters(job);+final NutchIndexWriter[] writers =NutchIndexWriterFactory.getNutchIndexWriters(job);