You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2020/02/06 02:33:52 UTC
[lucene-solr] branch master updated: SOLR-14118: default embedded
zookeeper port to localhost
This is an automated email from the ASF dual-hosted git repository.
rmuir pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/master by this push:
new 63be99b SOLR-14118: default embedded zookeeper port to localhost
63be99b is described below
commit 63be99bf12ddf32d30ba60e59dcc01f653cd2e0e
Author: Robert Muir <rm...@apache.org>
AuthorDate: Wed Feb 5 21:33:37 2020 -0500
SOLR-14118: default embedded zookeeper port to localhost
---
solr/CHANGES.txt | 5 +++++
solr/server/solr/zoo.cfg | 3 +++
2 files changed, 8 insertions(+)
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index ef1d88e..8861bce 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.cfg
index 7c32425..4ef8dce 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