lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-6509) Solr start scripts interactive mode doesn't honor -z argument
Date Sat, 13 Sep 2014 03:04:34 GMT

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

Shalin Shekhar Mangar commented on SOLR-6509:
---------------------------------------------

bq. 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.

+1

We encourage people to use external ZK in any real setting. Our startup scripts should also
support that scenario.

bq. (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)

+1 again


> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message