ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmitriu...@apache.org
Subject git commit: AMBARI-3648. Failed to start Hive Metastore (centos5.8, Stack 2.0) (Vitaly Brodetskyi via dlysnichenko)
Date Fri, 01 Nov 2013 15:01:42 GMT
Updated Branches:
  refs/heads/trunk 9b0af755d -> 71d6fb1bf


AMBARI-3648. Failed to start Hive Metastore (centos5.8, Stack 2.0) (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/71d6fb1b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/71d6fb1b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/71d6fb1b

Branch: refs/heads/trunk
Commit: 71d6fb1bf2caa6a38766fe3b757abcabeab74e8e
Parents: 9b0af75
Author: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Authored: Fri Nov 1 17:00:50 2013 +0200
Committer: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Committed: Fri Nov 1 17:00:50 2013 +0200

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


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/71d6fb1b/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/service.pp
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/service.pp b/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/service.pp
index 33f924d..ed7731c 100644
--- a/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/service.pp
+++ b/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/service.pp
@@ -99,7 +99,7 @@ class hdp-hive::service(
     }
 
     if ($ensure == 'running' and ($hive_jdbc_driver == "com.mysql.jdbc.Driver" or $hive_jdbc_driver
== "oracle.jdbc.driver.OracleDriver")) {
-      $db_connection_check_command = "java -cp ${hdp::params::check_db_connection_jar}:/usr/share/java/${hdp-hive::params::jdbc_jar_name}
org.apache.ambari.server.DBConnectionVerification ${hdp-hive::params::hive_jdbc_connection_url}
${hdp-hive::params::hive_metastore_user_name} ${hdp-hive::params::hive_metastore_user_passwd}
${hdp-hive::params::hive_jdbc_driver}"
+      $db_connection_check_command = "${hdp::params::java64_home}/bin/java -cp ${hdp::params::check_db_connection_jar}:/usr/share/java/${hdp-hive::params::jdbc_jar_name}
org.apache.ambari.server.DBConnectionVerification ${hdp-hive::params::hive_jdbc_connection_url}
${hdp-hive::params::hive_metastore_user_name} ${hdp-hive::params::hive_metastore_user_passwd}
${hdp-hive::params::hive_jdbc_driver}"
     } else {
       $db_connection_check_command = undef
     }

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/71d6fb1b/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/service.pp
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/service.pp b/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/service.pp
index 80a38c2..2d4711b 100644
--- a/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/service.pp
+++ b/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/service.pp
@@ -129,7 +129,7 @@ class hdp-oozie::service(
     $start_cmd = "su - ${user} -c  'cd ${oozie_tmp} && /usr/lib/oozie/bin/oozie-start.sh'"
     $no_op_test = "ls ${pid_file} >/dev/null 2>&1 && ps `cat ${pid_file}`
>/dev/null 2>&1"
     if ($jdbc_driver_name == "com.mysql.jdbc.Driver" or $jdbc_driver_name == "oracle.jdbc.driver.OracleDriver")
{
-      $db_connection_check_command = "java -cp ${hdp::params::check_db_connection_jar}:${jdbc_driver_jar}
org.apache.ambari.server.DBConnectionVerification ${hdp-oozie::params::oozie_jdbc_connection_url}
${hdp-oozie::params::oozie_metastore_user_name} ${hdp-oozie::params::oozie_metastore_user_passwd}
${jdbc_driver_name}"
+      $db_connection_check_command = "${hdp::params::java64_home}/bin/java -cp ${hdp::params::check_db_connection_jar}:${jdbc_driver_jar}
org.apache.ambari.server.DBConnectionVerification ${hdp-oozie::params::oozie_jdbc_connection_url}
${hdp-oozie::params::oozie_metastore_user_name} ${hdp-oozie::params::oozie_metastore_user_passwd}
${jdbc_driver_name}"
     } else {
       $db_connection_check_command = undef
     }


Mime
View raw message