Repository: ambari Updated Branches: refs/heads/branch-3.0-perf af30ab409 -> 42bf78b20
AMBARI-22295. RU tasks fail (aonishuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/42bf78b2 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/42bf78b2 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/42bf78b2 Branch: refs/heads/branch-3.0-perf Commit: 42bf78b20190092ee328730974f89a1f47bda9ec Parents: af30ab4 Author: Andrew Onishuk <aonis...@hortonworks.com> Authored: Thu Oct 26 10:05:01 2017 +0300 Committer: Andrew Onishuk <aonis...@hortonworks.com> Committed: Thu Oct 26 10:05:01 2017 +0300 ---------------------------------------------------------------------- .../main/resources/custom_actions/scripts/ru_execute_tasks.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/42bf78b2/ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py b/ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py index 23a0cfb..2e6d2c9 100644 --- a/ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py +++ b/ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py @@ -119,9 +119,11 @@ class ExecuteUpgradeTasks(Script): if service_package_folder and hooks_folder: command_paths = { - "commandParams": { + "serviceLevelParams": { "service_package_folder": service_package_folder, - "hooks_folder": hooks_folder + }, + "clusterLevelParams": { + "hooks_folder": hooks_folder } }