瀏覽代碼

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

Sumit Mohanty 8 年之前
父節點
當前提交
d9c271ae61
共有 1 個文件被更改,包括 1 次插入1 次删除
  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])