Gaël Lalire created SOLR-13601:
----------------------------------
Summary: Allow using 0 port with MiniSolrCloudCluster
Key: SOLR-13601
URL: https://issues.apache.org/jira/browse/SOLR-13601
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: SolrCloud
Reporter: Gaël Lalire
I think it works only with changing in ZkController the following line
{code:java}
this.localHostPort = cloudConfig.getSolrHostPort();
{code}
with this one (to get the real port and not the 0 one)
{code:java}
this.localHostPort =
Integer.parseInt(cc.getContainerProperties().getProperty("hostPort"));
{code}
While it is OK in my case, maybe there is other locations to change.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]