You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Timothy Potter (JIRA)" <ji...@apache.org> on 2014/09/12 23:29:33 UTC

[jira] [Commented] (SOLR-6509) Solr start scripts interactive mode doesn't honor -z argument

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

Timothy Potter commented on SOLR-6509:
--------------------------------------

Good catch! 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, which uses the embedded Zk server. I suppose some people might want to point their example SolrCloud instance at an existing ZK but that seems like a very rare case. It's easy enough to add support for this to the script though

> 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