[
https://issues.apache.org/jira/browse/SOLR-5172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13743001#comment-13743001
]
Alan Woodward commented on SOLR-5172:
-------------------------------------
One problem here is that embedded ZK currently expects to start on solrport +
1000, but we don't know the solr port until we've parsed solr.xml. Maybe we
should just expect to start on 9983, or allow the zk port to be set as a
sysprop?
A couple more ideas:
* Do we need to support a distributed ZK setup in embedded mode? It's only
supposed to be for use in development, and it adds a *lot* of complication to
the code.
* We also have a separate ZkTestServer, for use in running tests. We can
probably remove this and just re-use SolrZkServer.
> Start embedded zk servers before CoreContainer loads
> ----------------------------------------------------
>
> Key: SOLR-5172
> URL: https://issues.apache.org/jira/browse/SOLR-5172
> Project: Solr
> Issue Type: Improvement
> Reporter: Alan Woodward
> Priority: Minor
>
> In SOLR-4718 we allowed solr.xml to be read from Zookeeper in cloud setups.
> However, this doesn't work with an embedded ZK server because it doesn't
> start until CoreContainer.load() is called, by which time solr.xml has
> already been loaded. We should move the embedded ZK startup/shutdown logic
> out of CoreContainer and into SolrDispatchFilter.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]