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/d9c271ae
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d9c271ae
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d9c271ae

Branch: refs/heads/branch-feature-logsearch-ui
Commit: d9c271ae61c285e3b4e066616f057d857797fec9
Parents: bc6cbf3
Author: Sumit Mohanty <smoha...@hortonworks.com>
Authored: Fri Aug 11 16:35:00 2017 -0700
Committer: Sumit Mohanty <smoha...@hortonworks.com>
Committed: Fri Aug 11 16:36:41 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/d9c271ae/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])
 

Reply via email to