On 4/1/2014 11:58 AM, Narendra Meena wrote:
2014-04-01 23:21:30,811 WARN mapred.LocalJobRunner - job_local_0019
org.apache.solr.common.SolrException: Bad Request
Bad Request
request: http://localhost:8080/solr/update?wt=javabin&version=2
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430)
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)
2014-04-01 23:21:31,099 ERROR solr.SolrIndexer - java.io.IOException:
Job failed!
2014-04-01 23:21:31,101 INFO solr.SolrDeleteDuplicates -
SolrDeleteDuplicates: starting at 2014-04-01 23:21:31
2014-04-01 23:21:31,109 INFO solr.SolrDeleteDuplicates -
SolrDeleteDuplicates: Solr url: http://localhost:8080/solr/
2014-04-01 23:21:31,480 WARN mapred.LocalJobRunner - job_local_0020
java.lang.NullPointerException
at org.apache.hadoop.io.Text.encode(Text.java:388)
at org.apache.hadoop.io.Text.set(Text.java:178)
at
org.apache.nutch.indexer.solr.SolrDeleteDuplicates$SolrInputFormat$1.next(SolrDeleteDuplicates.java:270)
at
org.apache.nutch.indexer.solr.SolrDeleteDuplicates$SolrInputFormat$1.next(SolrDeleteDuplicates.java:241)
at
org.apache.hadoop.mapred.MapTask$TrackedRecordReader.moveToNext(MapTask.java:192)
at
org.apache.hadoop.mapred.MapTask$TrackedRecordReader.next(MapTask.java:176)
at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:48)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307)
at
org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:177)
This mailing list is for discussing the development of Solr and Lucene.
The solr-user mailing list is appropriate for discussions and help
requests with *using* Solr.
http://lucene.apache.org/solr/discussion.html
The error messages appear to be a problem with an application using
nutch and hadoop, connecting to a Solr server using the SolrJ support in
nutch. There's not enough information provided here to figure out what
is going wrong, at least to someone like me who knows Solr but doesn't
know anything about nutch.
There's a good chance that you're actually going to need help with
nutch. Nutch is a completely separate Apache project.They use client
code provided by the Solr project, but they are separate.
If you do send a message to solr-user, be sure to include corresponding
error messages from the Solr server log. Be prepared to share your
config, schema, and other details.
One possible problem: The Solr URL does not include a core name. The
newest versions of Solr will not work without one, unless the core is
actually named "collection1" which is what you can find in the example.
Thanks,
Shawn
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org