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/7ab58761 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7ab58761 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7ab58761 Branch: refs/heads/branch-feature-AMBARI-21450 Commit: 7ab5876124db25cc111d80d82afb94b29e607485 Parents: 0630899 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:12 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/7ab58761/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])