This is an automated email from the ASF dual-hosted git repository.
jialiang 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 bb91d0822a AMBARI-26088: Upgrading Ambari Bigtop Stack ZK to Zookeeper
3.7.2, Enhancing Servic… (#3788)
bb91d0822a is described below
commit bb91d0822a803a74df2909c4a4dc8be9ff4bd136
Author: jialiang <[email protected]>
AuthorDate: Tue Jul 30 09:03:56 2024 +0800
AMBARI-26088: Upgrading Ambari Bigtop Stack ZK to Zookeeper 3.7.2,
Enhancing Servic… (#3788)
* Upgrading Ambari Bigtop Stack ZK to Zookeeper 3.7.2, Enhancing Service
Functionality
---------
Co-authored-by: jialiang <[email protected]>
---
.../services/ZOOKEEPER/configuration/zoo.cfg.xml | 39 ++++++++++++++++++++++
.../BIGTOP/3.3.0/services/ZOOKEEPER/metainfo.xml | 11 +++++-
.../services/ZOOKEEPER/quicklinks/quicklinks.json | 26 +++++++++++++++
3 files changed, 75 insertions(+), 1 deletion(-)
diff --git
a/ambari-server/src/main/resources/stacks/BIGTOP/3.3.0/services/ZOOKEEPER/configuration/zoo.cfg.xml
b/ambari-server/src/main/resources/stacks/BIGTOP/3.3.0/services/ZOOKEEPER/configuration/zoo.cfg.xml
new file mode 100755
index 0000000000..beb0d252d3
--- /dev/null
+++
b/ambari-server/src/main/resources/stacks/BIGTOP/3.3.0/services/ZOOKEEPER/configuration/zoo.cfg.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
+<!--
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<configuration>
+ <property>
+ <name>admin.serverPort</name>
+ <value>8180</value>
+ <description>admin.serverPort</description>
+ <on-ambari-upgrade add="true"/>
+ </property>
+ <property>
+ <name>admin.enableServer</name>
+ <value>true</value>
+ <display-name>Enable Admin Server </display-name>
+ <description>Enable Admin Server.</description>
+ <value-attributes>
+ <type>boolean</type>
+ </value-attributes>
+ <on-ambari-upgrade add="true"/>
+ </property>
+</configuration>
diff --git
a/ambari-server/src/main/resources/stacks/BIGTOP/3.3.0/services/ZOOKEEPER/metainfo.xml
b/ambari-server/src/main/resources/stacks/BIGTOP/3.3.0/services/ZOOKEEPER/metainfo.xml
old mode 100644
new mode 100755
index 9bfacb7654..ef44c628ca
---
a/ambari-server/src/main/resources/stacks/BIGTOP/3.3.0/services/ZOOKEEPER/metainfo.xml
+++
b/ambari-server/src/main/resources/stacks/BIGTOP/3.3.0/services/ZOOKEEPER/metainfo.xml
@@ -21,6 +21,15 @@
<service>
<name>ZOOKEEPER</name>
<version>3.7.2-1</version>
+
+ <quickLinksConfigurations-dir>quicklinks</quickLinksConfigurations-dir>
+ <quickLinksConfigurations>
+ <quickLinksConfiguration>
+ <fileName>quicklinks.json</fileName>
+ <default>true</default>
+ </quickLinksConfiguration>
+ </quickLinksConfigurations>
+
</service>
</services>
-</metainfo>
\ No newline at end of file
+</metainfo>
diff --git
a/ambari-server/src/main/resources/stacks/BIGTOP/3.3.0/services/ZOOKEEPER/quicklinks/quicklinks.json
b/ambari-server/src/main/resources/stacks/BIGTOP/3.3.0/services/ZOOKEEPER/quicklinks/quicklinks.json
new file mode 100755
index 0000000000..a5c1e5fb4a
--- /dev/null
+++
b/ambari-server/src/main/resources/stacks/BIGTOP/3.3.0/services/ZOOKEEPER/quicklinks/quicklinks.json
@@ -0,0 +1,26 @@
+{
+ "name": "default",
+ "description": "default quick links configuration",
+ "configuration": {
+ "protocol":
+ {
+ "type":"http"
+ },
+
+ "links": [
+ {
+ "name": "zookeeper-adminserver",
+ "label": "Zookeeper AdminServer",
+ "requires_user_name": "false",
+ "component_name": "ZOOKEEPER_SERVER",
+ "url": "%@://%@:%@/commands/",
+ "port":{
+ "http_property": "admin.serverPort",
+ "http_default_port": "8180",
+ "regex": "^(\\d+)$",
+ "site": "zoo.cfg"
+ }
+ }
+ ]
+ }
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]