You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Gastone Penzo <ga...@gmail.com> on 2014/04/07 11:45:49 UTC
Bad request on update.distrib=FROMLEADER
Hello,
i have a problem of bad request during indexing data.
I have for nodes with solr cloud. The architecture is this:
10.0.0.86 10.0.0.87
NODE1 NODE 2
| |
| |
| |
| |
NODE 3 NODE 4
10.0.0.88 10.0.0.89
2 shards (node1 and node 2) with 2 replicas (node 3 and node4)
I tried to index data in node1 with DataImportHandler (Mysql) and fullimport
the index were created, but only half. and i had this error
bad request
request:
http://10.0.0.88:9002/solr/collection1/update?update.distrib=FROMLEADER&distrib.from=http://10.0.0.86:9000/solr/collection1/&wt=javabin&version=2
at org.apache.solr.client.solrj.i
mpl.ConcurrentUpdateSolrServer$Runner.run(ConcurrentUpdateSolrServer.java:240)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
i think node 1 call node 2 to give it an half on index, but the parameter
distrib.from is incomplete.Why?
if i create index with post.jar there are no problems. is it a problem of
Datahandler??
thank you
--
*Gastone Penzo*
Re: Bad request on update.distrib=FROMLEADER
Posted by Cihad Guzel <cg...@gmail.com>.
Hi,
Have all of your nodes the same configuration?
2014-04-07 12:45 GMT+03:00 Gastone Penzo <ga...@gmail.com>:
> Hello,
> i have a problem of bad request during indexing data.
> I have for nodes with solr cloud. The architecture is this:
>
> 10.0.0.86 10.0.0.87
> NODE1 NODE 2
> | |
> | |
> | |
> | |
> NODE 3 NODE 4
> 10.0.0.88 10.0.0.89
>
> 2 shards (node1 and node 2) with 2 replicas (node 3 and node4)
>
>
> I tried to index data in node1 with DataImportHandler (Mysql) and
> fullimport
> the index were created, but only half. and i had this error
>
> bad request
>
> request:
>
> http://10.0.0.88:9002/solr/collection1/update?update.distrib=FROMLEADER&distrib.from=http://10.0.0.86:9000/solr/collection1/&wt=javabin&version=2
> at org.apache.solr.client.solrj.i
>
> mpl.ConcurrentUpdateSolrServer$Runner.run(ConcurrentUpdateSolrServer.java:240)
> at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:724)
>
> i think node 1 call node 2 to give it an half on index, but the parameter
> distrib.from is incomplete.Why?
> if i create index with post.jar there are no problems. is it a problem of
> Datahandler??
>
> thank you
>
>
> --
> *Gastone Penzo*
>