You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2017/07/05 11:06:01 UTC
[07/15] ambari git commit: AMBARI-21393. stackadvisor error during
cluster creation, getOldValue is not defined (amagyar)
AMBARI-21393. stackadvisor error during cluster creation, getOldValue is not defined (amagyar)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5f04b300
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5f04b300
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5f04b300
Branch: refs/heads/branch-feature-logsearch-ui
Commit: 5f04b300ebcbc3d0c5ec4b38fe94710cbb7caed1
Parents: 8e9df94
Author: Attila Magyar <am...@hortonworks.com>
Authored: Mon Jul 3 13:20:12 2017 +0200
Committer: Attila Magyar <am...@hortonworks.com>
Committed: Mon Jul 3 13:21:11 2017 +0200
----------------------------------------------------------------------
.../src/main/resources/stacks/HDP/2.6/services/stack_advisor.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/5f04b300/ambari-server/src/main/resources/stacks/HDP/2.6/services/stack_advisor.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.6/services/stack_advisor.py b/ambari-server/src/main/resources/stacks/HDP/2.6/services/stack_advisor.py
index 82656aa..fa86f6c 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.6/services/stack_advisor.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.6/services/stack_advisor.py
@@ -186,7 +186,7 @@ class HDP26StackAdvisor(HDP25StackAdvisor):
services["configurations"]["yarn-site"]["properties"] and 'hive-env' in services['configurations'] and \
'hive_user' in services['configurations']['hive-env']['properties']:
hive_user_name = services['configurations']['hive-env']['properties']['hive_user']
- old_hive_user_name = getOldValue(self, services, "hive-env", "hive_user")
+ old_hive_user_name = self.getOldValue(services, "hive-env", "hive_user")
yarn_nm_kill_escape_user = services["configurations"]["yarn-site"]["properties"]["yarn.nodemanager.kill-escape.user"]
if not hive_user_name in yarn_nm_kill_escape_user:
if not yarn_nm_kill_escape_user or yarn_nm_kill_escape_user.strip() == "":