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 2023/01/13 08:50:36 UTC
[ambari] branch trunk updated: AMBARI-25832: Fixed permission denied error while running ZooKeeper service check (#3624)
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 1022f373dc AMBARI-25832: Fixed permission denied error while running ZooKeeper service check (#3624)
1022f373dc is described below
commit 1022f373dc54864bd5fe1df1578b9600a27d9673
Author: Yu Hou <52...@qq.com>
AuthorDate: Fri Jan 13 16:50:28 2023 +0800
AMBARI-25832: Fixed permission denied error while running ZooKeeper service check (#3624)
---
.../3.2.0/services/ZOOKEEPER/package/scripts/service_check.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/scripts/service_check.py b/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/scripts/service_check.py
index b7c7758f37..05177a595d 100644
--- a/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/scripts/service_check.py
+++ b/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/scripts/service_check.py
@@ -35,6 +35,12 @@ class ZookeeperServiceCheckLinux(ZookeeperServiceCheck):
import params
env.set_params(params)
+ File(format("{zk_log_dir}/zookeeper.log"),
+ mode=0664,
+ owner=params.zk_user,
+ group=params.user_group,
+ )
+
File(params.zk_smoke_out,
action="delete"
)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org