Re: Issue with using createNodeSet in Solr Cloud

2015-07-21 Thread Savvas Andreas Moysidis
Ah, nice tip, thanks! This could also make scripts more portable too. Cheers, Savvas On 21 July 2015 at 08:40, Upayavira u...@odoko.co.uk wrote: Note, when you start up the instances, you can pass in a hostname to use instead of the IP address. If you are using bin/solr (which you should

Re: Issue with using createNodeSet in Solr Cloud

2015-07-21 Thread Upayavira
Note, when you start up the instances, you can pass in a hostname to use instead of the IP address. If you are using bin/solr (which you should be!!) then you can use bin/solr -h my-host-name and that'll be used in place of the IP. Upayavira On Tue, Jul 21, 2015, at 05:45 AM, Erick Erickson

Re: Issue with using createNodeSet in Solr Cloud

2015-07-20 Thread Savvas Andreas Moysidis
Erick, spot on! The nodes had been registered in zookeeper under my network interface's IP address...after specifying those the command worked just fine. It was indeed the thing I thought was true that wasn't... :) Many thanks, Savvas On 18 July 2015 at 20:47, Erick Erickson

Re: Issue with using createNodeSet in Solr Cloud

2015-07-20 Thread Erick Erickson
Glad you found a solution Best, Erick On Mon, Jul 20, 2015 at 3:21 AM, Savvas Andreas Moysidis savvas.andreas.moysi...@gmail.com wrote: Erick, spot on! The nodes had been registered in zookeeper under my network interface's IP address...after specifying those the command worked just

Re: Issue with using createNodeSet in Solr Cloud

2015-07-18 Thread Savvas Andreas Moysidis
Thanks Eric, The strange thing is that although I have set the log level to ALL I see no error messages in the logs (apart from the line saying that the response is a 400 one). I'm quite confident the configset does exist as the collection gets created fine if I don't specify the createNodeSet

Re: Issue with using createNodeSet in Solr Cloud

2015-07-18 Thread Erick Erickson
Could you post your clusterstate.json? Or at least the live nodes section of your ZK config? (adminUIcloudtreelive_nodes. The addresses of my nodes are things like 192.168.1.201:8983_solr. I'm wondering if you're taking your node names from the information ZK records or assuming it's 127.0.0.1

Re: Issue with using createNodeSet in Solr Cloud

2015-07-18 Thread Erick Erickson
P.S. It ain't the things ya don't know that'll kill ya, it's the things ya _do_ know that ain't so... On Sat, Jul 18, 2015 at 12:46 PM, Erick Erickson erickerick...@gmail.com wrote: Could you post your clusterstate.json? Or at least the live nodes section of your ZK config?

Issue with using createNodeSet in Solr Cloud

2015-07-16 Thread Savvas Andreas Moysidis
Hello There, I am trying to use the createNodeSet parameter when creating a new collection but I'm getting an error when doing so. More specifically, I have four Solr instances running locally in separate JVMs (127.0.0.1:8983, 127.0.0.1:8984, 127.0.0.1:8985, 127.0.0.1:8986) and a standalone

Re: Issue with using createNodeSet in Solr Cloud

2015-07-16 Thread Erick Erickson
There were a couple of cases where the no live servers was being returned when the error was something completely different. Does the Solr log show something more useful? And are you sure you have a configset named collection_A? 'cause this works (admittedly on 5.x) fine for me, and I'm quite