lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <apa...@elyograg.org>
Subject Re: SolrCloud: published host/port
Date Thu, 24 Mar 2016 13:47:32 GMT
On 3/24/2016 12:26 AM, Hendrik Haddorp wrote:
> is it possible to instruct Solr to publish a different host/port into
> ZooKeeper then it is actually running on? This is required if the Solr
> node is not directly reachable on its port from outside due to a NAT
> setup or when running Solr as a Docker container with a mapped port.
>
> For what its worth ElasticSearch is supporting this as documented here [1]:
>     - transport.publish_port
>     - transport.publish_host

Although it is possible to publish different information than Jetty is
actually using, if you do so, SolrCloud may not work correctly.

SolrCloud uses the information published to zookeeper when it routes
requests from one node to another, so if the inter-node communication
must use the real port, then this will not work if you tell it about the
port number in use beyond the firewall.

Thanks,
Shawn


Mime
View raw message