Re: Writing config directly to zookeeper

2018-04-18 Thread Walter Underwood
I didn’t want to install Solr just so Jenkins could use one script. The Python is standalone. I was using the zkCli tools, which were just not all that well documented. I never could find a description of exactly which files were copied where. The solr.xml directory structure had /conf/, but it

Re: Writing config directly to zookeeper

2018-04-18 Thread Erick Erickson
There are some perhaps easier ways to manipulate ZK in the "bin/solr" script if you haven't seen it bin/solr zk -help Best, Erick On Wed, Apr 18, 2018 at 8:30 AM, Arturas Mazeika wrote: > Hi Walter, > > Thanks for the message. Would you care to share the tool with us? I would > be interested..

Re: Writing config directly to zookeeper

2018-04-18 Thread Arturas Mazeika
Hi Walter, Thanks for the message. Would you care to share the tool with us? I would be interested.. Or have you shared it already? Cheers, Arturas On Wed, Apr 18, 2018 at 5:09 PM, Walter Underwood wrote: > I wrote a Python tool to do this. I use the kazoo package to talk to > Zookeeper. It st

Re: Writing config directly to zookeeper

2018-04-18 Thread Walter Underwood
I wrote a Python tool to do this. I use the kazoo package to talk to Zookeeper. It starts with the load balancer URL to Solr. 1. Get cluster status. 2. Parse out the Zookeeper config string including chroot. 3. Connect to Zookeeper. 4. Copy the config to the location described in Shawn’s message.

Re: Writing config directly to zookeeper

2018-04-17 Thread Shawn Heisey
On 4/17/2018 8:54 PM, Aristedes Maniatis wrote: Is there any difference between using the tools supplied with Solr to write configuration to Zookeeper or just writing directly to our Zookeeper cluster? We have tooling that makes it much easier to write directly to ZK rather than having to use

Writing config directly to zookeeper

2018-04-17 Thread Aristedes Maniatis
Is there any difference between using the tools supplied with Solr to write configuration to Zookeeper or just writing directly to our Zookeeper cluster? We have tooling that makes it much easier to write directly to ZK rather than having to use yet another tool to do it. Thanks Ari