lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaël Lalire (JIRA) <>
Subject [jira] [Created] (SOLR-13601) Allow using 0 port with MiniSolrCloudCluster
Date Wed, 03 Jul 2019 06:39:00 GMT
Gaël Lalire created SOLR-13601:

             Summary: Allow using 0 port with MiniSolrCloudCluster
                 Key: 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
this.localHostPort = cloudConfig.getSolrHostPort();
with this one (to get the real port and not the 0 one)
this.localHostPort = Integer.parseInt(cc.getContainerProperties().getProperty("hostPort"));
While it is OK in my case, maybe there is other locations to change.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message