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 1317a51f662..adca7b91a59 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 @@ -106,7 +106,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"