[
https://issues.apache.org/jira/browse/SOLR-6509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Potter updated SOLR-6509:
---------------------------------
Attachment: SOLR-6509.patch
The start script now honors the -z argument when launching the interactive
SolrCloud example, such as:
{code}
bin/solr -e cloud -z localhost:2181
{code}
This will run the interactive example as before, but instead of launching the
embedded ZooKeeper instance, it will start each node with -z localhost:2181 to
connect to an external ZK instance.
> 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
> Assignee: Timothy Potter
> Attachments: SOLR-6509.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]