[ 
https://issues.apache.org/jira/browse/SOLR-7074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Pugh resolved SOLR-7074.
-----------------------------
    Resolution: Workaround

> Simple script to start external Zookeeper
> -----------------------------------------
>
>                 Key: SOLR-7074
>                 URL: https://issues.apache.org/jira/browse/SOLR-7074
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Upayavira
>            Priority: Major
>
> When starting Zookeeper for SolrCloud, we have two choices, bin/solr -c 
> (without -z) and run Zookeeper embedded. Whilst this works, it is suggestive 
> of bad practice, something you will have to unlearn later.
> The second option is to download Zookeeper, and install it manually. This 
> isn't hugely hard, but it is quite manual. However, try it on Windows, and 
> you'll find the Windows start script for Zookeeper is extremely thin (no 
> start/stop options, etc).
> Solr contains everything needed to start Zookeeper. Why not have a bin/zk 
> script that can start it for us. Thus, first time user instructions for 
> ZolrCloud could be:
> bin/zk start
> bin/zk uploadconf examples/techproducts/conf
> bin/solr start -c -Z
> -Z here hypothetically says "look in the standard place, localhost:2181, for 
> Zookeeper".
> or even:
> bin/zk start -config=examples/techproducts/conf
> bin/ssolr start -Z
> This should support both Windows and Unix.
> bin/zk would support all the functionality of the current zkCli scripts as 
> well as being able to start/stop zookeeper.
> This would make initial experience of using Solr a lot simpler, in my view, 
> which would be a good thing.
> Not only that, deploying Zookeeper in production, for Solr, need only be push 
> a Solr app dir to the server, then run bin/zk start, reducing the complexity 
> of installation.
> Thoughts? If this seems like a good idea, and don't share valid objections, 
> I'm prepared to make it happen.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to