Przeglądaj źródła

AMBARI-2146. When hive and oozie users have been changed after upgrade hive metastore and oozie cannot start properly. (smohanty)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1483465 13f79535-47bb-0310-9956-ffa450edef68
Sumit Mohanty 12 lat temu
rodzic
commit
a16442600d

+ 3 - 0
CHANGES.txt

@@ -856,6 +856,9 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-2146. When hive and oozie users have been changed after upgrade hive
+ metastore and oozie cannot start properly. (smohanty)
+
  AMBARI-2145. Create script for deploying all new services for UI. (smohanty)
 
  AMBARI-2144. Installation with existing Oracle DB fails. (swagle)

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

@@ -94,7 +94,7 @@ class hdp-hive::service(
     ensure => $pid_file_state
   }
 
-    Hdp-hive::Service::Directory<||> File[ $start_metastore_path]-> File[ $start_hiveserver2_path]-> Hdp::Exec[$daemon_cmd] -> File[$pid_file] -> Anchor['hdp-hive::service::end']
+    Hdp-hive::Service::Directory<||> -> File[ $start_metastore_path]-> File[ $start_hiveserver2_path]-> Hdp::Exec[$daemon_cmd] -> File[$pid_file] -> Anchor['hdp-hive::service::end']
   }
 }
 

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

@@ -111,6 +111,7 @@ class hdp-oozie::service(
       initial_wait => $initial_wait,
       require => Exec["exec $cmd6"]
     }
+    Hdp-oozie::Service::Directory<||> -> Hdp::Exec["exec $cmd6"] -> Hdp::Exec["exec $start_cmd"] -> Anchor['hdp-oozie::service::end']
   } elsif ($ensure == 'stopped') {
     hdp::exec { "exec $stop_cmd":
       command => $stop_cmd,