Apache Lucene open-source search software
SOLR-14118: default embedded zookeeper port to localhost
Robert Muir63be99bf12dd
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex ef1d88eff75..8861bce803c 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -84,6 +84,11 @@ Upgrade Notes* SOLR-14147: Solr now runs with the java security manager enabled by default. Administrators that need to run Solr with Hadoop will need to disable this feature by setting SOLR_SECURITY_MANAGER=false in the environment or in one of the Solr init scripts. Other features in Solr could also break. (Robert Muir, marcussorealheis)+* SOLR-14118: Solr embedded zookeeper only binds to localhost by default.+ This embedded zookeeper should not be used in production. If you rely+ upon the previous behavior, then you can change the clientPortAddress+ in solr/server/solr/zoo.cfg (Robert Muir)+Improvements----------------------diff --git a/solr/server/solr/zoo.cfg b/solr/server/solr/zoo.cfgindex 7c32425e718..4ef8dcea2ae 100644--- a/solr/server/solr/zoo.cfg+++ b/solr/server/solr/zoo.cfg@@ -11,6 +11,9 @@ syncLimit=5# dataDir=/opt/zookeeper/data# NOTE: Solr defaults the dataDir to <solrHome>/zoo_data+# the address that embedded zookeeper will bind to+clientPortAddress=127.0.0.1+# the port at which the clients will connect# clientPort=2181# NOTE: Solr sets this based on zkRun / zkHost params