Re: solr4.0 problem zkHost with multiple hosts throws out of range exception

2013-02-12 Thread Upayavira
This config isn't intended for embedded zookeeper, it is for a separate zookeeper ensemble that is shared with other services. Upayavira On Tue, Feb 12, 2013, at 10:19 PM, mbennett wrote: > The suggested syntax didn't work with embedded ZooKeeper: > > Syntax: > -DzkRun -DzkHost=nodeA:9983,nodeB:

Re: solr4.0 problem zkHost with multiple hosts throws out of range exception

2013-02-12 Thread mbennett
The suggested syntax didn't work with embedded ZooKeeper: Syntax: -DzkRun -DzkHost=nodeA:9983,nodeB:9983,nodeC:9983,nodeD:9983/solrroot -DnumShards=2 -Dbootstrap_confdir=./solr/collection1/conf -Dcollection.configName=MyConfig Error: SEVERE: Could not start Solr. Check solr/home property and the

Re: solr4.0 problem zkHost with multiple hosts throws out of range exception

2013-01-03 Thread Mark Miller
Cool, we should add this to the wiki. -Mark On Thursday, January 3, 2013, cmuarg wrote: > the solution: –DzkHost=zoo1:8983,zoo2:8983,zoo3:8983/solrroot > > thanks > /C > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/solr4-0-problem-zkHost-with-multiple-hosts-throw

Re: solr4.0 problem zkHost with multiple hosts throws out of range exception

2013-01-03 Thread cmuarg
the solution: –DzkHost=zoo1:8983,zoo2:8983,zoo3:8983/solrroot thanks /C -- View this message in context: http://lucene.472066.n3.nabble.com/solr4-0-problem-zkHost-with-multiple-hosts-throws-out-of-range-exception-tp4014440p4030394.html Sent from the Solr - User mailing list archive at Nabble.c

Re: solr4.0 problem zkHost with multiple hosts throws out of range exception

2013-01-03 Thread Tomás Fernández Löbbe
I think it should be –DzkHost=zoo1:8983,zoo2:8983,zoo3:8983/solrroot Tomás On Thu, Jan 3, 2013 at 2:14 PM, Mark Miller wrote: > I don't really understand your question. More than one what? > > More than one external zk node? Start up an ensemble, and pass a comma sep > list of the addresses

Re: solr4.0 problem zkHost with multiple hosts throws out of range exception

2013-01-03 Thread Mark Miller
I don't really understand your question. More than one what? More than one external zk node? Start up an ensemble, and pass a comma sep list of the addresses as the zkhost - each one should have the same chroot on it. - Mark On Jan 3, 2013, at 4:32 AM, cmuarg wrote: > Hello > > I have a zook

Re: solr4.0 problem zkHost with multiple hosts throws out of range exception

2013-01-03 Thread cmuarg
Hello I have a zookeeper ensemble that is also used for other purposes and I don’t want the zookeeper root get messed up with solrcloud things so I try to use ‘chroot’. One external zookeeper node works fine with –DzkHost=zoo1:8983/solrroot (solrroot must exist) but how specify more than one? Th

Re: solr4.0 problem zkHost with multiple hosts throws out of range exception

2012-11-13 Thread Mark Miller
On Tue, Nov 13, 2012 at 12:22 AM, deniz wrote: > so do we need to add one of the servers from the -DzkHost string to -DzkRun? By the way - not just any of the servers has to be added to zkRun - but the address for the current server - that is, the server you are running the command on. This is so

Re: solr4.0 problem zkHost with multiple hosts throws out of range exception

2012-11-13 Thread Mark Miller
On Tue, Nov 13, 2012 at 12:22 AM, deniz wrote: > so do we need to add one of the servers from the -DzkHost string to -DzkRun? > should it look like > > -DzkRun=host1:port -DzkHost=host:port, host1:port, host2:port in the > start up command? Yeah, something to that affect. > > > and will wiki

Re: solr4.0 problem zkHost with multiple hosts throws out of range exception

2012-11-12 Thread deniz
so do we need to add one of the servers from the -DzkHost string to -DzkRun? should it look like -DzkRun=host1:port -DzkHost=host:port, host1:port, host2:port in the start up command? and will wiki page be updated? because the example there is still letting into the error that was mention

Re: solr4.0 problem zkHost with multiple hosts throws out of range exception

2012-10-18 Thread Mark Miller
Sorry - the doc on this has never been clear I think. For the examples there is this default thing where it looks for localhost in your zk connect string. For real cases, you need to use -DzkRun={zk_address} This is how Solr figures out which zk address is for the local host so it can auto cre

Re: [External] solr4.0 problem zkHost with multiple hosts throws out of range exception

2012-10-18 Thread Pascal
Well, if i understand the embed solr ZK is not really useable with multiple instances spreaded across physical servers, so i've downloaded zookeeper and installed 3 instances on my servers and it works fine, you're right mixing zkHosts with multiple hosts and zkRun seems broken. Thanks, Pascal

Re: [External] solr4.0 problem zkHost with multiple hosts throws out of range exception

2012-10-18 Thread Greene, Daniel [USA]
problem zkHost with multiple hosts throws out of range exception Date: Thu, Oct 18, 2012 5:46 am Hi there, I've set up a test solr 4.0 cloud with some nodes, everything worked fine until i tried to put more than 1 zookeeper instance. If i put only one server it's ok eg: java -DzkH

Re: solr4.0 problem zkHost with multiple hosts throws out of range exception

2012-10-18 Thread Yury Kats
out a year ago. > > From: Pascal >To: solr-user@lucene.apache.org >Sent: Thursday, October 18, 2012 5:45 AM >Subject: solr4.0 problem zkHost with multiple hosts throws out of range >exception > >Hi there, > >I've set up a test

solr4.0 problem zkHost with multiple hosts throws out of range exception

2012-10-18 Thread Pascal
Hi there, I've set up a test solr 4.0 cloud with some nodes, everything worked fine until i tried to put more than 1 zookeeper instance. If i put only one server it's ok eg: java -DzkHost=10.0.0.1:9983 -DzkRun -jar start.jar But if i put more than 1 server in zkHost param an Exception is thrown