ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abaranc...@apache.org
Subject ambari git commit: AMBARI-11881 - Hive service check fails with started Hive Server
Date Fri, 12 Jun 2015 14:50:54 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 b1f4dbe08 -> 84c1d89e6


AMBARI-11881 - Hive service check fails with started Hive Server


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/84c1d89e
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/84c1d89e
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/84c1d89e

Branch: refs/heads/branch-2.1
Commit: 84c1d89e616b58e661802ff3d9006a9b9092a2b8
Parents: b1f4dbe
Author: Artem Baranchuk <abaranchuk@hortonworks.con>
Authored: Fri Jun 12 17:50:03 2015 +0300
Committer: Artem Baranchuk <abaranchuk@hortonworks.con>
Committed: Fri Jun 12 17:50:38 2015 +0300

----------------------------------------------------------------------
 .../HIVE/0.12.0.2.0/package/scripts/service_check.py               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/84c1d89e/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py
b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py
index 4876fb2..3fdf028 100644
--- a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py
+++ b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py
@@ -83,7 +83,7 @@ class HiveServiceCheckDefault(HiveServiceCheck):
         time.sleep(5)
         
       i += 1
-      if i == len(address_list)-1:
+      if i == len(address_list):
         i = 0
           
     elapsed_time = time.time() - start_time


Mime
View raw message