bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1165928 - in /incubator/bigtop/trunk/bigtop-packages/src: deb/oozie/oozie.dirs deb/oozie/oozie.postinst rpm/oozie/SPECS/oozie.spec
Date Tue, 06 Sep 2011 23:31:13 GMT
Author: rvs
Date: Tue Sep  6 23:31:12 2011
New Revision: 1165928

URL: http://svn.apache.org/viewvc?rev=1165928&view=rev
Log:
BIGTOP-81. oozie-setup.sh script fails if Oozie has not been started once

Added:
    incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.dirs
Modified:
    incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.postinst
    incubator/bigtop/trunk/bigtop-packages/src/rpm/oozie/SPECS/oozie.spec

Added: incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.dirs
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.dirs?rev=1165928&view=auto
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.dirs (added)
+++ incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.dirs Tue Sep  6 23:31:12 2011
@@ -0,0 +1 @@
+/var/log/oozie

Modified: incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.postinst
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.postinst?rev=1165928&r1=1165927&r2=1165928&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.postinst (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.postinst Tue Sep  6 23:31:12
2011
@@ -36,7 +36,7 @@ set -e
 
 case "$1" in
     configure)
-        chown -R oozie:oozie /var/lib/oozie
+        chown -R oozie:oozie /var/lib/oozie /var/log/oozie
         update-rc.d oozie defaults >/dev/null || exit 1
     ;;
 

Modified: incubator/bigtop/trunk/bigtop-packages/src/rpm/oozie/SPECS/oozie.spec
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/rpm/oozie/SPECS/oozie.spec?rev=1165928&r1=1165927&r2=1165928&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/rpm/oozie/SPECS/oozie.spec (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/rpm/oozie/SPECS/oozie.spec Tue Sep  6 23:31:12
2011
@@ -113,6 +113,9 @@ BuildArch: noarch
 
 %__install -d -m 0755 $RPM_BUILD_ROOT/usr/bin
 
+%__install -d  -m 0755  %{buildroot}/%{_localstatedir}/log/oozie
+%__install -d  -m 0755  %{buildroot}/%{_localstatedir}/run/oozie
+
 %pre
 getent group oozie >/dev/null || /usr/sbin/groupadd -r oozie >/dev/null
 getent passwd oozie >/dev/null || /usr/sbin/useradd --comment "Oozie User" --shell /bin/false
-M -r -g oozie --home /var/run/oozie oozie >/dev/null
@@ -142,6 +145,8 @@ fi
 %config(noreplace) %{conf_oozie}
 %{initd_dir}/oozie
 %defattr(-, oozie, oozie)
+%dir %{_localstatedir}/log/hbase
+%dir %{_localstatedir}/run/hbase
 %{data_oozie}
 
 %files client



Mime
View raw message