Re: Solr 4 exceptions on trying to create a collection

2013-01-08 Thread Per Steffensen
JIRA about the fix for 4.1: https://issues.apache.org/jira/browse/SOLR-4140 On 1/8/13 4:01 PM, Jay Parashar wrote: Thanks Mark...I will use it with 4.1. For now, I used httpclient to call the Collections api directly (do a Get on http://127.0.0.1:8983/solr/admin/collections?action=CREATE etc). T

RE: Solr 4 exceptions on trying to create a collection

2013-01-08 Thread Jay Parashar
08, 2013 7:46 AM To: solr-user@lucene.apache.org Subject: Re: Solr 4 exceptions on trying to create a collection If you are using 4.0 you can't use the CloudSolrServer with the collections API - you have to pick a server and use the HttpSolrServer impl. In 4.1 you can use the CloudSolrServer

Re: Solr 4 exceptions on trying to create a collection

2013-01-08 Thread Mark Miller
e.setDataDir("myCollData"); > create.setNumShards(2); > create.process(server); //Exception No live SolrServers is thrown here > > > Thanks > Jay > > > -Original Message- > From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] > Sent: Friday, Januar

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

2013-01-07 Thread Jay Parashar
: Mark Miller [mailto:markrmil...@gmail.com] Sent: Monday, January 07, 2013 1:14 PM To: solr-user@lucene.apache.org Subject: Re: "No live SolrServers" Solr 4 exceptions on trying to create a collection > http://127.0.0.1:7500/solr/admin/cores? Why did you paste that as the example t

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

2013-01-07 Thread Mark Miller
ceDir("defaultDir"); > create.setDataDir("myCollData"); > create.setNumShards(2); > create.process(server); //Exception No live SolrServers is thrown here > > Regards > Jay > > -Original Message----- > From: Mark Miller [mailto:markrmil...@gmai

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

2013-01-07 Thread Alexandre Rafalovitch
ards > Jay > > -Original Message- > From: Mark Miller [mailto:markrmil...@gmail.com] > Sent: Monday, January 07, 2013 11:57 AM > To: solr-user@lucene.apache.org > Subject: Re: "No live SolrServers" Solr 4 exceptions on trying to create a > collection >

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

2013-01-07 Thread Jay Parashar
om: Mark Miller [mailto:markrmil...@gmail.com] Sent: Monday, January 07, 2013 11:57 AM To: solr-user@lucene.apache.org Subject: Re: "No live SolrServers" Solr 4 exceptions on trying to create a collection On Jan 7, 2013, at 12:33 PM, Jay Parashar wrote: > With my setup (4 servers r

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

2013-01-07 Thread Jay Parashar
ot;No live SolrServers" Solr 4 exceptions on trying to create a collection 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 wi

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 wrote: > With my setup (4 servers running at localhost 8983, 8900, 7574 and 7500) when > I manually do a > http://127.0.0.1:7500/solr/admin/cores?action=CREATE&name=myColl1&instanceDir=default&dataDir=myColl1Data&collection=myColl1&numShards=2 > it cre

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

2013-01-07 Thread Rafał Kuć
sage- > From: Jay Parashar [mailto:jparas...@itscape.com] > Sent: Sunday, January 06, 2013 7:42 PM > To: solr-user@lucene.apache.org > Subject: RE: Solr 4 exceptions on trying to create a collection > The exception "No live SolrServers" is being thrown

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

2013-01-07 Thread Jay Parashar
ds Jay -Original Message- From: Jay Parashar [mailto:jparas...@itscape.com] Sent: Sunday, January 06, 2013 7:42 PM To: solr-user@lucene.apache.org Subject: RE: Solr 4 exceptions on trying to create a collection The exception "No live SolrServers" is being thrown when trying to c

RE: Solr 4 exceptions on trying to create a collection

2013-01-06 Thread Jay Parashar
Original Message- From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Sent: Friday, January 04, 2013 6:08 PM To: solr-user@lucene.apache.org Subject: Re: Solr 4 exceptions on trying to create a collection Tried Wireshark yet to see what host/port it is trying to connect and why it fai

Re: Solr 4 exceptions on trying to create a collection

2013-01-04 Thread Alexandre Rafalovitch
pache.org > Subject: Re: Solr 4 exceptions on trying to create a collection > > For the second one: > > Wrong version of library on a classpath or multiple versions of library on > the classpath which causes wrong classes with missing fields/variables? Or > library interface ba

RE: Solr 4 exceptions on trying to create a collection

2013-01-04 Thread Jay Parashar
afalovitch [mailto:arafa...@gmail.com] Sent: Friday, January 04, 2013 4:21 PM To: solr-user@lucene.apache.org Subject: Re: Solr 4 exceptions on trying to create a collection For the second one: Wrong version of library on a classpath or multiple versions of library on the classpath which ca

Re: Solr 4 exceptions on trying to create a collection

2013-01-04 Thread Alexandre Rafalovitch
For the second one: Wrong version of library on a classpath or multiple versions of library on the classpath which causes wrong classes with missing fields/variables? Or library interface baked in and the implementation is newer. Some sort of mismatch basically. Most probably in Apache http librar

Solr 4 exceptions on trying to create a collection

2013-01-04 Thread Jay Parashar
Hi All, I am getting exceptions on trying to create a collection. Any help is appreciated. While trying to create a collection, I got this error Caused by: org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request at org.apache.solr.client.sol