thats was the solution!! i package the current lucene and solrj
repositories (dev 4.0) and copy the nesseccary jars to nutch-libs (after
removing the old), building nutch and run it - it works!! thank you peter :)
marcel
On 09/12/2010 03:40 PM, Peter Sturge wrote:
Could be a solrj .jar version compat issue. Check that the client and
server's solrj version jars match up.
Peter
On Sun, Sep 12, 2010 at 1:16 PM, h00kpub...@gmail.com
<h00kpub...@googlemail.com> wrote:
hi... currently i am integrating nutch (release 1.2) into solr (trunk). if
i indexing to solr index with nutch i got the exception:
java.lang.RuntimeException: Invalid version or the data in not in 'javabin'
format
at
org.apache.solr.common.util.JavaBinCodec.unmarshal(JavaBinCodec.java:99)
at
org.apache.solr.client.solrj.impl.BinaryResponseParser.processResponse(BinaryResponseParser.java:39)
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:466)
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:243)
at
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:49)
at org.apache.nutch.indexer.solr.SolrWriter.close(SolrWriter.java:98)
at
org.apache.nutch.indexer.IndexerOutputFormat$1.close(IndexerOutputFormat.java:48)
at
org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:474)
at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:411)
at
org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:216)
2010-09-12 11:44:55,101 ERROR solr.SolrIndexer - java.io.IOException: Job
failed!
can you tell me, whats wrong or how can i fix this?
best regards marcel :)