HAD-666. hadoop-nonstop-daemon.sh shall be cleaned up during uninstall

Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/5fc8a3de
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/5fc8a3de
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/5fc8a3de

Branch: refs/heads/master
Commit: 5fc8a3de6b87dcee400828ead379b82773490cf4
Parents: 7faf21d
Author: Konstantin Boudnik <[email protected]>
Authored: Mon Apr 21 12:38:40 2014 -0700
Committer: Konstantin Boudnik <[email protected]>
Committed: Mon Apr 21 12:38:40 2014 -0700

----------------------------------------------------------------------
 .../rpm/wdd-namenode-nonstop/SPECS/wdd-namenode-nonstop.spec    | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/5fc8a3de/bigtop-packages/src/rpm/wdd-namenode-nonstop/SPECS/wdd-namenode-nonstop.spec
----------------------------------------------------------------------
diff --git 
a/bigtop-packages/src/rpm/wdd-namenode-nonstop/SPECS/wdd-namenode-nonstop.spec 
b/bigtop-packages/src/rpm/wdd-namenode-nonstop/SPECS/wdd-namenode-nonstop.spec
index 6b23dbe..5662b9f 100644
--- 
a/bigtop-packages/src/rpm/wdd-namenode-nonstop/SPECS/wdd-namenode-nonstop.spec
+++ 
b/bigtop-packages/src/rpm/wdd-namenode-nonstop/SPECS/wdd-namenode-nonstop.spec
@@ -187,6 +187,9 @@ do
   fi
 done
 
+%postun server
+rm -f %{lib_hadoop}/sbin/hadoop-nonstop-daemon.sh
+
 %files server
 %defattr(-,root,root)
 %{lib_hdfs}
@@ -212,6 +215,8 @@ done
 %{lib_hdfs}/%{artifactname}-client-%{wdd_namenode_nonstop_base_version}.jar
 
 %changelog
+* Thu Apr 21 2014 Konstantin Boudnik <[email protected]>
+- HAD-666. hadoop-nonstop-daemon.sh shall be cleaned up during uninstall
 * Thu Mar 6 2014 Konstantin Boudnik <[email protected]>
 - HAD-661. Adding end-user license agreement to the packaging
 * Thu Feb 24 2014 Konstantin Boudnik <[email protected]>

Reply via email to