I had the same problem, but it was because I implemented something
like that doc.add("", "");
Cheers,
MyD
On Apr 10, 2009, at 1:43 PM, dealmaker wrote:
When I index my new fetch in nutch 1.0, it has this exception
again. I
thought that there was already a temporary fix in nutch-711. But it
seems
that it breaks again in 1.0? It worked in 1.0-dev. Maybe some
checkin
after 711 broke the fix? Can someone take a look? Thanks.
2009-04-09 22:32:29,236 WARN mapred.LocalJobRunner - job_local_0001
java.lang.IllegalArgumentException: it doesn't make sense to have a
field
that is neither indexed nor stored
at org.apache.lucene.document.Field.<init>(Field.java:279)
at
org
.apache
.nutch.indexer.lucene.LuceneWriter.createLuceneDoc(LuceneWriter.java:
133)
at
org.apache.nutch.indexer.lucene.LuceneWriter.write(LuceneWriter.java:
239)
at
org.apache.nutch.indexer.IndexerOutputFormat
$1.write(IndexerOutputFormat.java:54)
at
org.apache.nutch.indexer.IndexerOutputFormat
$1.write(IndexerOutputFormat.java:44)
at org.apache.hadoop.mapred.ReduceTask$3.collect(ReduceTask.java:410)
at
org
.apache.nutch.indexer.IndexerMapReduce.reduce(IndexerMapReduce.java:
158)
at
org
.apache.nutch.indexer.IndexerMapReduce.reduce(IndexerMapReduce.java:
50)
at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:436)
at org.apache.hadoop.mapred.LocalJobRunner
$Job.run(LocalJobRunner.java:170)
2009-04-09 22:32:29,593 FATAL indexer.Indexer - Indexer:
java.io.IOException: Job failed!
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1232)
at org.apache.nutch.indexer.Indexer.index(Indexer.java:72)
at org.apache.nutch.indexer.Indexer.run(Indexer.java:92)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.nutch.indexer.Indexer.main(Indexer.java:101)
--
View this message in context:
http://www.nabble.com/FATAL-indexer.Indexer---Indexer%3A-java.io.IOException%3A-Job-failed%21-during-indexing.--Fix-broke--tp22983424p22983424.html
Sent from the Nutch - Dev mailing list archive at Nabble.com.