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/10 06:45:25 UTC
[ambari] branch trunk updated: AMBARI-25748: HDFS Service Check Fails in NameNode HA cluster (#3378)
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 c2059078f6 AMBARI-25748: HDFS Service Check Fails in NameNode HA cluster (#3378)
c2059078f6 is described below
commit c2059078f6900caa23c6d6b1778f982031dc443b
Author: yaolei <le...@163.com>
AuthorDate: Mon Oct 10 14:45:16 2022 +0800
AMBARI-25748: HDFS Service Check Fails in NameNode HA cluster (#3378)
---
.../stacks/BIGTOP/3.2.0/services/HDFS/package/files/checkWebUI.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/files/checkWebUI.py b/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/files/checkWebUI.py
index 6e4b028cfb..7ee02d5535 100644
--- a/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/files/checkWebUI.py
+++ b/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/files/checkWebUI.py
@@ -78,7 +78,7 @@ def main():
for host in hosts:
httpCode = make_connection(host, port, https.lower() == "true", protocol)
- if httpCode != 200:
+ if httpCode != 200 and httpCode != 302:
print "Cannot access WEB UI on: http://" + host + ":" + port if not https.lower() == "true" else "Cannot access WEB UI on: https://" + host + ":" + port
exit(1)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org