You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2017/10/09 18:34:23 UTC

[09/50] [abbrv] ambari git commit: AMBARI-21711. Seeing SQL errors in ambari server log when installing HDF 3.1 (smohanty)

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

(cherry picked from commit 5f750176f0c1fb88b7577aa69d3054ded6382f93)

Change-Id: I5067ff76aefde6fe3790247ebf898da869fd07bb


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

Branch: refs/heads/2.5-maint
Commit: f99725e9335b38401e9024465f0ff7904984031f
Parents: 6ddb896
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Fri Aug 11 16:35:00 2017 -0700
Committer: smohanty@hortonworks.com <je...@hortonworks.com>
Committed: Fri Aug 11 23:56:10 2017 +0000

----------------------------------------------------------------------
 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/f99725e9/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])