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é <[email protected]> Authored: Mon Mar 11 23:54:13 2013 -0700 Committer: Bruno Mahé <[email protected]> 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
