You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2014/05/09 00:37:14 UTC
git commit: AMBARI-5705. Fail to install hive client with error:
Fail: Execution of curl returned 22. Fix typo. (swagle)
Repository: ambari
Updated Branches:
refs/heads/trunk b427ffa26 -> 9d3e6a243
AMBARI-5705. Fail to install hive client with error: Fail: Execution of curl returned 22. Fix typo. (swagle)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9d3e6a24
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9d3e6a24
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9d3e6a24
Branch: refs/heads/trunk
Commit: 9d3e6a243f36176570c66207ddc9665f9470283d
Parents: b427ffa
Author: Siddharth Wagle <sw...@hortonworks.com>
Authored: Thu May 8 15:37:09 2014 -0700
Committer: Siddharth Wagle <sw...@hortonworks.com>
Committed: Thu May 8 15:37:09 2014 -0700
----------------------------------------------------------------------
.../2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py | 2 +-
.../stacks/2.0.6/hooks/before-INSTALL/test_before_install.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/9d3e6a24/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py
index 08d13a5..9ac5667 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py
@@ -132,7 +132,7 @@ def setup_java():
if not params.jdk_name:
return
- Execute(format("mkdir -p {artifact_dir} ; '\
+ Execute(format("mkdir -p {artifact_dir} ; \
curl --noproxy {ambari_server_hostname} -kf \
--retry 10 {jdk_location}/{jdk_name} -o {jdk_curl_target}"),
path = ["/bin","/usr/bin/"],
http://git-wip-us.apache.org/repos/asf/ambari/blob/9d3e6a24/ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py b/ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py
index 12e1d88..e70debb 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py
+++ b/ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py
@@ -31,7 +31,7 @@ class TestHookBeforeInstall(RMFTestCase):
self.assertResourceCalled('Package', 'unzip', )
self.assertResourceCalled('Package', 'curl', )
- self.assertResourceCalled('Execute', "mkdir -p /tmp/HDP-artifacts/ ; ' curl --noproxy c6401.ambari.apache.org -kf --retry 10 http://c6401.ambari.apache.org:8080/resources//jdk-7u45-linux-x64.tar.gz -o /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz",
+ self.assertResourceCalled('Execute', "mkdir -p /tmp/HDP-artifacts/ ; curl --noproxy c6401.ambari.apache.org -kf --retry 10 http://c6401.ambari.apache.org:8080/resources//jdk-7u45-linux-x64.tar.gz -o /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz",
not_if = 'test -e /usr/jdk64/jdk1.7.0_45/bin/java',
path = ['/bin', '/usr/bin/'],
)