Author: smohanty
Date: Thu May 16 17:38:11 2013
New Revision: 1483465
URL: http://svn.apache.org/r1483465
Log:
AMBARI-2146. When hive and oozie users have been changed after upgrade hive
metastore and oozie cannot start properly. (smohanty)
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/service.pp
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/service.pp
Modified: incubator/ambari/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1483465&r1=1483464&r2=1483465&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Thu May 16 17:38:11 2013
@@ -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)
Modified:
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/service.pp
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/service.pp?rev=1483465&r1=1483464&r2=1483465&view=diff
==============================================================================
---
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/service.pp
(original)
+++
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/service.pp
Thu May 16 17:38:11 2013
@@ -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']
}
}
Modified:
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/service.pp
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/service.pp?rev=1483465&r1=1483464&r2=1483465&view=diff
==============================================================================
---
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/service.pp
(original)
+++
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/service.pp
Thu May 16 17:38:11 2013
@@ -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,