Repository: ambari Updated Branches: refs/heads/trunk b933445cf -> 71305effa
AMBARI-16241. While adding Hive Server Interactive, ATLAS config recommendation throws error - add check only (smohanty) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/71305eff Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/71305eff Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/71305eff Branch: refs/heads/trunk Commit: 71305effa9ac00e2e9adb36e6a66a13c9105a811 Parents: b933445 Author: Sumit Mohanty <[email protected]> Authored: Tue May 3 23:30:06 2016 -0700 Committer: Sumit Mohanty <[email protected]> Committed: Tue May 3 23:30:06 2016 -0700 ---------------------------------------------------------------------- .../src/main/resources/stacks/HDP/2.3/services/stack_advisor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/71305eff/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py b/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py index f475798..7b792b9 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py @@ -811,7 +811,7 @@ class HDP23StackAdvisor(HDP22StackAdvisor): # atlas application_services_property = "*.application.services" - if application_services_property in services["configurations"]["falcon-startup.properties"]["properties"]: + if "falcon-startup.properties" in services["configurations"] and application_services_property in services["configurations"]["falcon-startup.properties"]["properties"]: application_services_value = services["configurations"]["falcon-startup.properties"]["properties"][application_services_property] else: application_services_value = " "
