Browse Source

AMBARI-3590. Hive MetaStore start fails due to JDBC connection check failing (Vitaly Brodetskyi via dlysnichenko)

Lisnichenko Dmitro 11 years ago
parent
commit
a1fedaf88a

+ 1 - 1
ambari-agent/src/main/puppet/modules/hdp-hive/manifests/params.pp

@@ -25,7 +25,7 @@ class hdp-hive::params() inherits hdp::params
   $hive_metastore_user_name = hdp_default("hive-site/javax.jdo.option.ConnectionUserName","dbusername")
   $hive_metastore_user_name = hdp_default("hive-site/javax.jdo.option.ConnectionUserName","dbusername")
   $hive_metastore_user_passwd = hdp_default("hive-site/javax.jdo.option.ConnectionPassword","dbpassword")
   $hive_metastore_user_passwd = hdp_default("hive-site/javax.jdo.option.ConnectionPassword","dbpassword")
   $hive_server_conf_dir = hdp_default("hive_server_conf_dir", "/etc/hive/conf.server")
   $hive_server_conf_dir = hdp_default("hive_server_conf_dir", "/etc/hive/conf.server")
-  $hive_jdbc_connection_url = hdp_default("hive_jdbc_connection_url", "")
+  $hive_jdbc_connection_url = hdp_default("hive-site/javax.jdo.option.ConnectionURL", "")
 
 
   ### users
   ### users
   $hive_user = $hdp::params::hive_user
   $hive_user = $hdp::params::hive_user

+ 3 - 3
ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/params.pp

@@ -28,9 +28,9 @@ class hdp-oozie::params() inherits hdp::params
   $ext_zip_name = hdp_default("ext_zip_name","ext-2.2.zip")
   $ext_zip_name = hdp_default("ext_zip_name","ext-2.2.zip")
 
 
   ###oozie jdbc
   ###oozie jdbc
-  $oozie_metastore_user_name = hdp_default("oozie_metastore_user_name","oozie")
-  $oozie_metastore_user_passwd = hdp_default("oozie_metastore_user_passwd","")
-  $oozie_jdbc_connection_url = hdp_default("oozie_jdbc_connection_url", "")
+  $oozie_metastore_user_name = hdp_default("oozie-site/oozie.service.JPAService.jdbc.username","oozie")
+  $oozie_metastore_user_passwd = hdp_default("oozie-site/oozie.service.JPAService.jdbc.password","")
+  $oozie_jdbc_connection_url = hdp_default("oozie-site/oozie.service.JPAService.jdbc.url", "")
 
 
   ### oozie-env
   ### oozie-env
   $conf_dir = $hdp::params::oozie_conf_dir
   $conf_dir = $hdp::params::oozie_conf_dir