Author: ab
Date: Wed Mar  4 15:02:29 2009
New Revision: 750037

URL: http://svn.apache.org/viewvc?rev=750037&view=rev
Log:
NUTCH-711 - Indexer failing after upgrade to Hadoop 0.19.1. This is a temporary
fix, to be revisited later.

Modified:
    lucene/nutch/trunk/CHANGES.txt
    
lucene/nutch/trunk/src/java/org/apache/nutch/indexer/IndexerOutputFormat.java

Modified: lucene/nutch/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/lucene/nutch/trunk/CHANGES.txt?rev=750037&r1=750036&r2=750037&view=diff
==============================================================================
--- lucene/nutch/trunk/CHANGES.txt (original)
+++ lucene/nutch/trunk/CHANGES.txt Wed Mar  4 15:02:29 2009
@@ -374,6 +374,8 @@
 
 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-02
 

Modified: 
lucene/nutch/trunk/src/java/org/apache/nutch/indexer/IndexerOutputFormat.java
URL: 
http://svn.apache.org/viewvc/lucene/nutch/trunk/src/java/org/apache/nutch/indexer/IndexerOutputFormat.java?rev=750037&r1=750036&r2=750037&view=diff
==============================================================================
--- 
lucene/nutch/trunk/src/java/org/apache/nutch/indexer/IndexerOutputFormat.java 
(original)
+++ 
lucene/nutch/trunk/src/java/org/apache/nutch/indexer/IndexerOutputFormat.java 
Wed Mar  4 15:02:29 2009
@@ -31,6 +31,10 @@
   @Override
   public 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);
 


Reply via email to