ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject ambari git commit: AMBARI-21711. Seeing SQL errors in ambari server log when installing HDF 3.1 (smohanty)
Date Fri, 11 Aug 2017 23:35:14 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 aa9d866e7 -> 5f750176f


AMBARI-21711. Seeing SQL errors in ambari server log when installing HDF 3.1 (smohanty)


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

Branch: refs/heads/branch-2.5
Commit: 5f750176f0c1fb88b7577aa69d3054ded6382f93
Parents: aa9d866
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Fri Aug 11 16:35:00 2017 -0700
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Fri Aug 11 16:35:00 2017 -0700

----------------------------------------------------------------------
 ambari-server/src/main/resources/host_scripts/alert_disk_space.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5f750176/ambari-server/src/main/resources/host_scripts/alert_disk_space.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/host_scripts/alert_disk_space.py b/ambari-server/src/main/resources/host_scripts/alert_disk_space.py
index f3c6406..eb92781 100644
--- a/ambari-server/src/main/resources/host_scripts/alert_disk_space.py
+++ b/ambari-server/src/main/resources/host_scripts/alert_disk_space.py
@@ -67,7 +67,7 @@ def execute(configurations={}, parameters={}, host_name=None):
     return (('UNKNOWN', ['There were no configurations supplied to the script.']))
 
   if not STACK_NAME in configurations or not STACK_ROOT in configurations:
-    return (('STACK_ROOT', ['cluster-env/stack_name and cluster-env/stack_root are required']))
+    return (('UNKNOWN', ['cluster-env/stack_name and cluster-env/stack_root are required']))
 
   path = stack_tools.get_stack_root(configurations[STACK_NAME], configurations[STACK_ROOT])
 


Mime
View raw message