Browse Source

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

Sumit Mohanty 8 years ago
parent
commit
d9c271ae61
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-server/src/main/resources/host_scripts/alert_disk_space.py

+ 1 - 1
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])