lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Korolev <alexei.koro...@gmail.com>
Subject Sorl: java.io.IOException: Job failed!
Date Mon, 16 Apr 2012 16:51:48 GMT
Hello,

I'm trying to use together nutch 1.4 and sorl. When I do

/data/nutch/apache-nutch-1.4-bin/runtime/local/bin/nutch solrindex
http://127.0.0.1:8080/solr/ crawl/crawldb -linkdb crawl/crawldb/linkdb
crawl/crawldb/segments/*

I see following mesaage:

SolrIndexer: starting at 2012-04-16 18:41:28
Adding 19 documents
java.io.IOException: Job failed!

Nutch's log:

2012-04-16 18:41:29,896 INFO  solr.SolrWriter - Adding 19 documents
2012-04-16 18:41:29,955 WARN  mapred.LocalJobRunner - job_local_0001
org.apache.solr.common.SolrException: Bad Request

Bad Request

request: http://127.0.0.1:8080/solr/update?wt=javabin&version=1
        at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
        at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
        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:93)
        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)
2012-04-16 18:41:30,793 ERROR solr.SolrIndexer - java.io.IOException: Job
failed!

I'm using Ubuntu 11.10. Java version is

java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

I did a lot of googling, but nothing. Anybody can help me?

Thank you in advance.

-- 
Alexei A. Korolev

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message