You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by jo...@apache.org on 2020/01/15 21:22:20 UTC
[nifi] 01/02: NIFI-7022 - This closes #3989. Disable Zookeeper
Admin Server for Embedded Zookeeper
This is an automated email from the ASF dual-hosted git repository.
joewitt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git
commit aa2466480171a31cda970f500df53753765aceab
Author: Shawn Weeks <sw...@weeksconsulting.us>
AuthorDate: Wed Jan 15 12:57:13 2020 -0600
NIFI-7022 - This closes #3989. Disable Zookeeper Admin Server for Embedded Zookeeper
Signed-off-by: Joe Witt <jo...@apache.org>
---
.../nifi-resources/src/main/resources/conf/bootstrap.conf | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf
index 5fa1cf2..c2152f7 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf
@@ -62,6 +62,10 @@ java.arg.15=-Djava.security.egd=file:/dev/urandom
# Please see https://docs.oracle.com/javase/8/docs/technotes/guides/security/jgss/single-signon.html, section "EXCEPTIONS TO THE MODEL"
java.arg.16=-Djavax.security.auth.useSubjectCredsOnly=true
+# Zookeeper 3.5 now includes an Admin Server that starts on port 8080, since NiFi is already using that port disable by default.
+# Please see https://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_adminserver_config for configuration options.
+java.arg.17.=-Dzookeeper.admin.enableServer=false
+
###
# Notification Services for notifying interested parties when NiFi is stopped, started, dies
###