You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Mike Thomsen <mi...@gmail.com> on 2016/01/19 23:00:39 UTC

zkCli.sh not in solr 5.4?

I downloaded a build of 5.4.0 to install in some VMs and noticed that
zkCli.sh is not there. I need it in order to upload a configuration set to
ZooKeeper before I create the collection. What's the preferred way of doing
that?

Specifically, I need to specify a configuration like this because it's in a
Vagrant-managed set of VMs and I need to tell it to use the private network
IP addresses not my host's IP address:

/admin/collections?action=CREATE&name=default-collection2&numShards=4&replicationFactor=1&maxShardsPerNode=1&createNodeSet=192.168.56.20:8983
_solr,192.168.56.21:8983_solr,192.168.56.22:8983_solr,192.168.56.23:8983
_solr&collection.configName=default-collection

Thanks,

Mike

Re: zkCli.sh not in solr 5.4?

Posted by Shawn Heisey <ap...@elyograg.org>.
On 1/19/2016 3:00 PM, Mike Thomsen wrote:
> I downloaded a build of 5.4.0 to install in some VMs and noticed that
> zkCli.sh is not there. I need it in order to upload a configuration set to
> ZooKeeper before I create the collection. What's the preferred way of doing
> that?

Nitpicky point -- zkCli.sh does not come with Solr.  It comes with 
Zookeeper.  Solr has zkcli.sh -- notice the minor case difference on the 
C.  These are very different scripts with similar names.

I have just checked and the zkcli.sh script in the solr-5.4.0 download 
is located in the server/scripts/cloud-scripts directory.

Thanks,
Shawn