Re: No live SolrServers Solr 4 exceptions on trying to create a collection

2013-01-07 Thread Rafał Kuć
Hello! Can you share the command you use to start all four Solr servers ? -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Any clue to why this is happening will be greatly appreciated. This has become a blocker for me. I can use the

Re: No live SolrServers Solr 4 exceptions on trying to create a collection

2013-01-07 Thread Mark Miller
On Jan 7, 2013, at 12:33 PM, Jay Parashar jparas...@itscape.com wrote: With my setup (4 servers running at localhost 8983, 8900, 7574 and 7500) when I manually do a

RE: No live SolrServers Solr 4 exceptions on trying to create a collection

2013-01-07 Thread Jay Parashar
Hi Rafat, The following are scripts started in the same order (external zk, 1 instance running at localhost:2181). I also tried with the embedded zk with the same result #Start of Server 1 export SOLR_HOME=/home/apache-solr-4.0.0 cd shard1A java \ -Djetty.port=8983 \

RE: No live SolrServers Solr 4 exceptions on trying to create a collection

2013-01-07 Thread Jay Parashar
Right Mark, I am accessing the Collections API using Solrj. This is where I am stuck. If I just use the Collections API using http thru the browser, the behavior is as expected. Is there an example of using the Collections API using SolrJ? My code looks like String[] urls =

Re: No live SolrServers Solr 4 exceptions on trying to create a collection

2013-01-07 Thread Alexandre Rafalovitch
Can you run the SolrJ client from another machine (so you go over the network) and put Wireshark in between? It will tell you if something is actually trying to connect of if the problem is even earlier. Otherwise, if you are on U*ix style machines look into dtrace/truss to see the activity. On

Re: No live SolrServers Solr 4 exceptions on trying to create a collection

2013-01-07 Thread Mark Miller
http://127.0.0.1:7500/solr/admin/cores? Why did you paste that as the example then :) ? 4.0 has problems using the collections api with the CloudSolrServer. You will be able to do it for 4.1, but for 4.0 you have to use an HttpSolrServer and pick a node to talk to. For 4.0, CloudSolrServer is

RE: No live SolrServers Solr 4 exceptions on trying to create a collection

2013-01-07 Thread Jay Parashar
Thanks Mark! I will wait for 4.1 then. Actually I pasted both /admin/cores and /admin/collections to highlight that the problem was only with SolrJ and both admin/collections and admin/collections were working as expected. Sorry for the confusion. Regards Jay -Original Message- From: