You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by bm...@apache.org on 2013/03/16 22:29:03 UTC
[2/2] git commit: BIGTOP-869. Hadoop preun should not stop services
itself on behalf of its subpackages
Updated Branches:
refs/heads/master 4303e8421 -> d87866a29
BIGTOP-869. Hadoop preun should not stop services itself on behalf of its subpackages
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/7c1e3c08
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/7c1e3c08
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/7c1e3c08
Branch: refs/heads/master
Commit: 7c1e3c087a35a111a31861c913bc02c6e0f9d869
Parents: 4303e84
Author: Bruno Mahé <br...@bmahe.net>
Authored: Mon Mar 11 23:54:13 2013 -0700
Committer: Bruno Mahé <br...@bmahe.net>
Committed: Sat Mar 16 14:27:33 2013 -0700
----------------------------------------------------------------------
bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bigtop/blob/7c1e3c08/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec b/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
index 5631e0d..7fa4dbd 100644
--- a/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
+++ b/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
@@ -540,11 +540,6 @@ chkconfig --add %{name}-httpfs
%preun
if [ "$1" = 0 ]; then
- # Stop any services that might be running
- for service in %{hadoop_services}
- do
- service hadoop-$service stop 1>/dev/null 2>/dev/null || :
- done
%{alternatives_cmd} --remove %{name}-conf %{etc_hadoop}/conf.empty || :
fi