[
https://issues.apache.org/jira/browse/SOLR-4936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15513389#comment-15513389
]
Cao Manh Dat commented on SOLR-4936:
------------------------------------
Ok, so I figure out why the commands can be executed in Solr-4.0. Prior to
SOLR-4718, we dont make a connect to zk cluster before start embedded one.
SOLR-4718 change that, so the node must connect to zk cluster first.
In my opinion, I dont think a cluter of embedded zk is a good idea. So this
issue can be mark as wont fix.
> Cannot run Solr with zookeeper on multiple IPs
> ----------------------------------------------
>
> Key: SOLR-4936
> URL: https://issues.apache.org/jira/browse/SOLR-4936
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 4.2
> Reporter: Grzegorz Sobczyk
>
> This doesn't run solr with ZK:
> {{java -DzkRun=192.168.1.169:9180
> -DzkHost=192.168.1.169:9180,192.168.1.169:9280 -Djetty.port=8180 -jar
> start.jar}}
> {{java -DzkRun=192.168.1.169:9280
> -DzkHost=192.168.1.169:9180,192.168.1.169:9280 -Djetty.port=8280 -jar
> start.jar}}
> And this does:
> {{java -DzkRun=localhost:9180 -DzkHost=localhost:9180,localhost:9280
> -Djetty.port=8180 -jar start.jar}}
> {{java -DzkRun=localhost:9280 -DzkHost=localhost:9180,localhost:9280
> -Djetty.port=8280 -jar start.jar}}
> SolrZkServerProps#getMyServerId() assumes that myHost is "localhost" rather
> than reads it from zkRun property.
> (tested on example)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]