Repository: ambari Updated Branches: refs/heads/trunk 8648139f9 -> 55fdd7d98
AMBARI-20575. JAVA_LIBRARY_PATH in hadoop-env.sh is different on host and downloaded configs (Andrew Onischuk via smohanty) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/55fdd7d9 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/55fdd7d9 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/55fdd7d9 Branch: refs/heads/trunk Commit: 55fdd7d988f01eb022b28f2a80963256644b1d4e Parents: 8648139 Author: Sumit Mohanty <[email protected]> Authored: Sun Mar 26 16:56:41 2017 -0700 Committer: Sumit Mohanty <[email protected]> Committed: Sun Mar 26 16:56:41 2017 -0700 ---------------------------------------------------------------------- .../resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/55fdd7d9/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py index d1eeaa5..cab9102 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py +++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py @@ -36,12 +36,15 @@ from resource_management.libraries.functions.expect import expect from resource_management.libraries.functions import StackFeature from resource_management.libraries.functions.stack_features import check_stack_feature from resource_management.libraries.functions.stack_features import get_stack_feature_version +from resource_management.libraries.functions.get_architecture import get_architecture from ambari_commons.constants import AMBARI_SUDO_BINARY config = Script.get_config() tmp_dir = Script.get_tmp_dir() +architecture = get_architecture() + dfs_type = default("/commandParams/dfs_type", "") artifact_dir = format("{tmp_dir}/AMBARI-artifacts/")
