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

Hoss Man commented on SOLR-6509:
--------------------------------

bq. Although I don't know if this qualifies as a major bug in that solr -e 
cloud is intended for running the Solr cloud example

my suggestion, to help re-iterate that "-e is for example" would be to make it 
fail with an error if you try to combine it with other params that are 
definitely not a good idea when running examples.

that said: i'm not convinced that "-z" is one of those options ... i think we 
should definitely move towards encouraging people to recognize and realize that 
in a "real" solr setup they should run an external zookeeper quarum, and the 
best way to teach them that is to show documented examples of running zk as an 
external process.

(in fact: now that we have scripts ...  we should stop supporting embedded zk 
completely, and just have the script spin up a single external zk process in 
any situation where it would currently tell solr to do an embedded zk server 
... but that's a tangent that should probably be considered in a distinct issue)

> Solr start scripts interactive mode doesn't honor -z argument
> -------------------------------------------------------------
>
>                 Key: SOLR-6509
>                 URL: https://issues.apache.org/jira/browse/SOLR-6509
>             Project: Solr
>          Issue Type: Bug
>          Components: scripts and tools
>    Affects Versions: 4.10
>            Reporter: Shalin Shekhar Mangar
>
> The solr start script ignore -z parameter when combined with -e cloud 
> (interactive cloud mode).
> {code}
> ./bin/solr -z localhost:2181 -e cloud
> Welcome to the SolrCloud example!
> This interactive session will help you launch a SolrCloud cluster on your 
> local workstation.
> To begin, how many Solr nodes would you like to run in your local cluster? 
> (specify 1-4 nodes) [2] 1
> Ok, let's start up 1 Solr nodes for your example SolrCloud cluster.
> Please enter the port for node1 [8983] 
> 8983
> Cloning /home/shalin/programs/solr-4.10.1/example into 
> /home/shalin/programs/solr-4.10.1/node1
> Starting up SolrCloud node1 on port 8983 using command:
> solr start -cloud -d node1 -p 8983 
> Waiting to see Solr listening on port 8983 [-]  
> Started Solr server on port 8983 (pid=27291). Happy searching!
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to