By the way, if I try to index with this parameter:

 -D solr.server.url=http://localhost:8983/solr/nutch

I get this warning, which I assume is the cause of the error:

2017-10-07 12:04:24,437 WARN  action.bulk - [Karl Lykos] Failed to execute
bulk request 1.
NoNodeAvailableException[None of the configured nodes are available:
[{#transport#-1}{a.b.c.d}{my.url/a.b.c.d:9300}]]

So, I wonder if there's an Elasticsearch connection on port 9300 that is
expected. netstat doesn't show any such connection.


On Fri, Oct 6, 2017 at 5:28 PM, Sol Lederman <sol.leder...@gmail.com> wrote:

> Hi,
>
> I've got Nutch 1.13 and Solr 5.5.0. When I try to index some documents I
> get an error:
>
> % bin/nutch index -D solr.server.url=http://localhost:8983/solr
> crawl/crawldb/ -linkdb crawl/linkdb/ crawl/segments/20170910201610/ -filter
> -normalize -deleteGone
>
> Indexing 20/20 documents
> Deleting 0 documents
> Indexing 20/20 documents
> Deleting 0 documents
> Indexer: java.io.IOException: Job failed!
>         at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:865)
>         at org.apache.nutch.indexer.IndexingJob.index(IndexingJob.
> java:147)
>         at org.apache.nutch.indexer.IndexingJob.run(IndexingJob.java:230)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>         at org.apache.nutch.indexer.IndexingJob.main(IndexingJob.java:239)
>
> I found an article on StackOverflow that suggested comparing the fields in
> schema.xml. So, I compared
> /home/me/apache-solr/solr-5.5.0/server/solr/configsets/nutch/conf/schema.xml
> and
> /home/me/apache-nutch/apache-nutch-1.13/conf/schema.xml
>
> There are no differences in fields.And, there is not any more info in the
> Nutch log.
>
> How can I debug this?
>
> Thanks!
> Sol
>

Reply via email to