incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bm...@apache.org
Subject svn commit: r1202885 - /incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
Date Wed, 16 Nov 2011 21:05:55 GMT
Author: bmahe
Date: Wed Nov 16 21:05:55 2011
New Revision: 1202885

URL: http://svn.apache.org/viewvc?rev=1202885&view=rev
Log:
Yarn pseudo conf need to be installed

Modified:
    incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec?rev=1202885&r1=1202884&r2=1202885&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
(original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
Wed Nov 16 21:05:55 2011
@@ -477,12 +477,7 @@ fi
 # Pseudo-distributed Hadoop installation
 %post conf-pseudo
 %{alternatives_cmd} --install %{config_hadoop} %{name}-conf %{etc_hadoop}/conf.pseudo 30
-
-%files conf-pseudo
-%defattr(-,root,root)
-%config(noreplace) %attr(755,root,root) %{etc_hadoop}/conf.pseudo
-%dir %attr(0755,root,hadoop) /var/lib/%{name}
-%dir %attr(1777,root,hadoop) /var/lib/%{name}/cache
+%{alternatives_cmd} --install %{config_yarn} yarn-conf %{etc_yarn}/conf.pseudo 30
 
 %preun conf-pseudo
 if [ "$1" = 0 ]; then
@@ -490,6 +485,13 @@ if [ "$1" = 0 ]; then
         rm -f %{etc_hadoop}/conf
 fi
 
+%files conf-pseudo
+%defattr(-,root,root)
+%config(noreplace) %attr(755,root,root) %{etc_hadoop}/conf.pseudo
+%config(noreplace) %attr(755,root,root) %{etc_yarn}/conf.pseudo
+%dir %attr(0755,root,hadoop) /var/lib/%{name}
+%dir %attr(1777,root,hadoop) /var/lib/%{name}/cache
+
 %files libhdfs
 %defattr(-,root,root)
 %{_libdir}/libhdfs*



Mime
View raw message