Updated Branches:
  refs/heads/trunk 6ed6d64ea -> 399a63b8e

AMBARI-3605. Hive client installation failed on configured for Ambari server 
HTTPS (Vitaly Brodetskyi via dlysnichenko)


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

Branch: refs/heads/trunk
Commit: 399a63b8e43337d088a5b466051fe19ddfd9605c
Parents: 6ed6d64
Author: Lisnichenko Dmitro <[email protected]>
Authored: Mon Oct 28 19:12:58 2013 +0200
Committer: Lisnichenko Dmitro <[email protected]>
Committed: Mon Oct 28 19:12:58 2013 +0200

----------------------------------------------------------------------
 ambari-agent/src/main/puppet/modules/hdp-hive/manifests/init.pp  | 2 +-
 ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/init.pp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/399a63b8/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/init.pp
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/init.pp 
b/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/init.pp
index 0d5aead..d7a58c1 100644
--- a/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/init.pp
+++ b/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/init.pp
@@ -58,7 +58,7 @@ class hdp-hive(
 
   if ($service_state == 'installed_and_configured' and ($hive_jdbc_driver == 
"com.mysql.jdbc.Driver" or $hive_jdbc_driver == 
"oracle.jdbc.driver.OracleDriver")) {
     hdp::exec { "download DBConnectorVerification.jar" :
-      command => "/bin/sh -c 'cd /usr/lib/ambari-agent/ && curl -s -o 
${hdp::params::check_db_connection_jar_name} 
${hdp::params::jdk_location}${hdp::params::check_db_connection_jar_name}'",
+      command => "/bin/sh -c 'cd /usr/lib/ambari-agent/ && curl -kf --retry 5 
${hdp::params::jdk_location}${hdp::params::check_db_connection_jar_name} -o 
${hdp::params::check_db_connection_jar_name}'",
       unless  => "[ -f ${check_db_connection_jar} ]"
     }
   }

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/399a63b8/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/init.pp
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/init.pp 
b/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/init.pp
index 7c535e5..f1256c1 100644
--- a/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/init.pp
+++ b/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/init.pp
@@ -92,7 +92,7 @@ class hdp-oozie(
 
        if ($hdp::params::oozie_jdbc_driver == "com.mysql.jdbc.Driver" or 
$hdp::params::oozie_jdbc_driver == "oracle.jdbc.driver.OracleDriver") {
          hdp::exec { "download DBConnectorVerification.jar" :
-           command => "/bin/sh -c 'cd /usr/lib/ambari-agent/ && curl -s -o 
${hdp::params::check_db_connection_jar_name} 
${hdp::params::jdk_location}${hdp::params::check_db_connection_jar_name}'",
+           command => "/bin/sh -c 'cd /usr/lib/ambari-agent/ && curl -kf 
--retry 5 
${hdp::params::jdk_location}${hdp::params::check_db_connection_jar_name} -o 
${hdp::params::check_db_connection_jar_name}'",
            unless  => "[ -f ${check_db_connection_jar} ]"
          }
        }

Reply via email to