Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 f5a6b5d57 -> 51b3eed43


AMBARI-20575. JAVA_LIBRARY_PATH in hadoop-env.sh is different on host and 
downloaded configs (aonishuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/51b3eed4
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/51b3eed4
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/51b3eed4

Branch: refs/heads/branch-2.5
Commit: 51b3eed43811e618c033763f5c703172e08d2a71
Parents: f5a6b5d
Author: Andrew Onishuk <[email protected]>
Authored: Thu Mar 30 10:15:52 2017 +0300
Committer: Andrew Onishuk <[email protected]>
Committed: Thu Mar 30 10:15:52 2017 +0300

----------------------------------------------------------------------
 .../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/51b3eed4/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/")

Reply via email to