فهرست منبع

AMBARI-1732. Oozie service check fails in secure cluster. (jaimin)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1462176 13f79535-47bb-0310-9956-ffa450edef68
Jaimin Jetly 12 سال پیش
والد
کامیت
3598b4651c

+ 2 - 0
CHANGES.txt

@@ -532,6 +532,8 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1732. Oozie service check fails in secure cluster. (jaimin)
+
  AMBARI 1733. Add service/component specific upgrade puppet files. (smohanty)
 
  AMBARI-1731. WebHcat smoke test fails for the secure cluster. (jaimin)

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

@@ -41,7 +41,10 @@ class hdp-oozie(
       group => $hdp::params::user_group,
       mode => '0660'
     }
+    $oozie-site = $configuration['oozie-site']
+    $oozie_principal = $oozie-site["oozie.service.HadoopAccessorService.kerberos.principal"]
   }
+  
 
   if ($service_state == 'uninstalled') {
     hdp::package { 'oozie-client' : 

+ 1 - 1
ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/service.pp

@@ -37,7 +37,7 @@ class hdp-oozie::service(
 
   $security = $hdp::params::security_enabled
   $oozie_keytab = $hdp-oozie::params::oozie_service_keytab
-  $oozie_principal = $hdp-oozie::params::oozie_principal
+  $oozie_principal = $hdp-oozie::oozie_principal
 
   if ($security == true) {
     $kinit_if_needed = "${hdp::params::kinit_path_local} -kt ${oozie_keytab} ${oozie_principal}"