ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject [2/2] ambari git commit: AMBARI-12352. Ambari dashboard reports hive metastore as green but alerts says metastore down. (aonishuk)
Date Thu, 09 Jul 2015 12:42:10 GMT
AMBARI-12352. Ambari dashboard reports hive metastore as green but alerts says metastore down.
 (aonishuk)


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

Branch: refs/heads/branch-2.1
Commit: 1e6f278fd7285f97fd43289b6789932691e29164
Parents: dc223c3
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Thu Jul 9 15:41:51 2015 +0300
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Thu Jul 9 15:41:51 2015 +0300

----------------------------------------------------------------------
 .../HIVE/0.12.0.2.0/package/alerts/alert_hive_metastore.py   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/1e6f278f/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/alerts/alert_hive_metastore.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/alerts/alert_hive_metastore.py
b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/alerts/alert_hive_metastore.py
index f7a84f2..7f23d31 100644
--- a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/alerts/alert_hive_metastore.py
+++ b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/alerts/alert_hive_metastore.py
@@ -160,10 +160,10 @@ def execute(configurations={}, parameters={}, host_name=None):
 
     cmd = format("export HIVE_CONF_DIR='{conf_dir}' ; "
                  "hive --hiveconf hive.metastore.uris={metastore_uri}\
-                 --hiveconf hive.metastore.client.connect.retry.delay=1s\
+                 --hiveconf hive.metastore.client.connect.retry.delay=1\
                  --hiveconf hive.metastore.failure.retries=1\
                  --hiveconf hive.metastore.connect.retries=1\
-                 --hiveconf hive.metastore.client.socket.timeout=14s\
+                 --hiveconf hive.metastore.client.socket.timeout=14\
                  --hiveconf hive.execution.engine=mr -e 'show databases;'")
 
     start_time = time.time()
@@ -225,10 +225,10 @@ def execute(configurations={}, parameters={}, host_name=None):
 
     hive_cmd = os.path.join(hive_home, "bin", "hive.cmd")
     cmd = format("cmd /c {hive_cmd} --hiveconf hive.metastore.uris={metastore_uri}\
-                 --hiveconf hive.metastore.client.connect.retry.delay=1s\
+                 --hiveconf hive.metastore.client.connect.retry.delay=1\
                  --hiveconf hive.metastore.failure.retries=1\
                  --hiveconf hive.metastore.connect.retries=1\
-                 --hiveconf hive.metastore.client.socket.timeout=14s\
+                 --hiveconf hive.metastore.client.socket.timeout=14\
                  --hiveconf hive.execution.engine=mr -e 'show databases;'")
     start_time = time.time()
     try:


Mime
View raw message