You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2015/12/09 11:33:11 UTC

[jira] [Commented] (SOLR-7074) Simple script to start external Zookeeper

    [ https://issues.apache.org/jira/browse/SOLR-7074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15048448#comment-15048448 ] 

Jan Høydahl commented on SOLR-7074:
-----------------------------------

See comments in SOLR-8378. Suggest to let {{bin/zk}} only manage start/stop/status of ZK while {{bin/solr zk <command> <args>}} will do solr-specific zk operations...

> 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
>
> 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org