You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2015/06/12 15:28:08 UTC
ambari git commit: AMBARI-11881 - Hive service check fails with
started Hive Server
Repository: ambari
Updated Branches:
refs/heads/trunk 0624e8cd3 -> acecac370
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/acecac37
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/acecac37
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/acecac37
Branch: refs/heads/trunk
Commit: acecac3702b4b9ea9fb5dddae7364861b01bf43f
Parents: 0624e8c
Author: Artem Baranchuk <ab...@hortonworks.con>
Authored: Fri Jun 12 16:17:12 2015 +0300
Committer: Artem Baranchuk <ab...@hortonworks.con>
Committed: Fri Jun 12 16:27:52 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/acecac37/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