incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1303865 - in /incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src: deb/hadoop/hadoop-mapreduce.postinst deb/hadoop/hadoop-mapreduce.preinst rpm/hadoop/SPECS/hadoop.spec
Date Thu, 22 Mar 2012 16:06:23 GMT
Author: rvs
Date: Thu Mar 22 16:06:22 2012
New Revision: 1303865

URL: http://svn.apache.org/viewvc?rev=1303865&view=rev
Log:
BIGTOP-478. perhaps we should go back to mapred as a user name for mapreduce daemons in Hadoop
0.23

Modified:
    incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/hadoop/hadoop-mapreduce.postinst
    incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/hadoop/hadoop-mapreduce.preinst
    incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/hadoop/hadoop-mapreduce.postinst
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/hadoop/hadoop-mapreduce.postinst?rev=1303865&r1=1303864&r2=1303865&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/hadoop/hadoop-mapreduce.postinst
(original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/hadoop/hadoop-mapreduce.postinst
Thu Mar 22 16:06:22 2012
@@ -24,7 +24,7 @@ case "$1" in
 	mkdir -p /var/log/hadoop-mapreduce /var/run/hadoop-mapreduce || :
 	chgrp -R hadoop /var/log/hadoop-mapreduce /var/run/hadoop-mapreduce
 	chmod g+w /var/run/hadoop-mapreduce /var/log/hadoop-mapreduce
-	chown mapreduce:hadoop /var/lib/hadoop-mapreduce /var/lib/hadoop-mapreduce/cache
+	chown mapred:hadoop /var/lib/hadoop-mapreduce /var/lib/hadoop-mapreduce/cache
 	chmod 1777 /var/lib/hadoop-mapreduce/cache
     ;;
 

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/hadoop/hadoop-mapreduce.preinst
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/hadoop/hadoop-mapreduce.preinst?rev=1303865&r1=1303864&r2=1303865&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/hadoop/hadoop-mapreduce.preinst
(original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/hadoop/hadoop-mapreduce.preinst
Thu Mar 22 16:06:22 2012
@@ -36,7 +36,7 @@ case "$1" in
             adduser \
                 --system \
                 --group \
-                --home /var/lib/mapreduce \
+                --home /var/lib/hadoop-mapreduce \
                 --gecos "Hadoop MapReduce" \
                 --shell /bin/bash \
                 mapred >/dev/null 2>/dev/null || :

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=1303865&r1=1303864&r2=1303865&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
Thu Mar 22 16:06:22 2012
@@ -535,10 +535,10 @@ fi
 %{lib_mapreduce}
 %{lib_hadoop}/libexec/mapred-config.sh
 %{bin_hadoop}/mapred
-%attr(0775,mapreduce,hadoop) %{run_mapreduce}
-%attr(0775,mapreduce,hadoop) %{log_mapreduce}
-%attr(0775,mapreduce,hadoop) %{state_mapreduce}
-%attr(1777,mapreduce,hadoop) %{state_mapreduce}/cache
+%attr(0775,mapred,hadoop) %{run_mapreduce}
+%attr(0775,mapred,hadoop) %{log_mapreduce}
+%attr(0775,mapred,hadoop) %{state_mapreduce}
+%attr(1777,mapred,hadoop) %{state_mapreduce}/cache
 
 
 %files



Mime
View raw message