You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by wu...@apache.org on 2022/10/30 12:57:42 UTC

[ambari] branch trunk updated: AMBARI-25770: Fix service alert for Zookeeper (#3453)

This is an automated email from the ASF dual-hosted git repository.

wuzhiguo pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1ed055fc55 AMBARI-25770: Fix service alert for Zookeeper (#3453)
1ed055fc55 is described below

commit 1ed055fc5505512a994e1ef1ddfef5ef5702b9e5
Author: 范~ <76...@users.noreply.github.com>
AuthorDate: Sun Oct 30 20:57:34 2022 +0800

    AMBARI-25770: Fix service alert for Zookeeper (#3453)
---
 .../BIGTOP/3.2.0/services/ZOOKEEPER/configuration/zoo.cfg.xml    | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/configuration/zoo.cfg.xml b/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/configuration/zoo.cfg.xml
index 58778777ab..ba41b54b7f 100644
--- a/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/configuration/zoo.cfg.xml
+++ b/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/configuration/zoo.cfg.xml
@@ -90,4 +90,13 @@
       Set to a positive integer (1 and above) to enable the auto purging.</description>
     <on-ambari-upgrade add="true"/>
   </property>
+  <property>
+    <name>4lw.commands.whitelist</name>
+    <value>ruok</value>
+    <description>A list of comma separated Four Letter Words commands that user wants to use.
+      A valid Four Letter Words command must be put in this list else ZooKeeper server will not enable the command.
+      By default the whitelist only contains "srvr" command which zkServer.sh uses.
+      The rest of four letter word commands are disabled by default.</description>
+    <on-ambari-upgrade add="true"/>
+  </property>
 </configuration>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org