Author: rvs
Date: Tue Mar 20 15:42:24 2012
New Revision: 1302947

URL: http://svn.apache.org/viewvc?rev=1302947&view=rev
Log:
BIGTOP-457. Bigtop 0.3.0: Hadoop namenode doesnt start after installing the deb 
package (James Page and Vijay Srinivasan via rvs)

Modified:
    
incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/hadoop/hadoop.postinst

Modified: 
incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/hadoop/hadoop.postinst
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/hadoop/hadoop.postinst?rev=1302947&r1=1302946&r2=1302947&view=diff
==============================================================================
--- 
incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/hadoop/hadoop.postinst
 (original)
+++ 
incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/hadoop/hadoop.postinst
 Tue Mar 20 15:42:24 2012
@@ -34,6 +34,8 @@ case "$1" in
         # We don't want to do this recursively since we may be reinstalling, 
in which case
         # users have their own cache/<username> directories which shouldn't be 
stolen
         chown root:hadoop /var/lib/hadoop/ /var/lib/hadoop/cache/ 
/var/lib/hadoop/cache/hadoop/
+        # Ensure group write on this directory or we can't start/format 
namenode or datanode
+        chmod 775 /var/lib/hadoop/cache/hadoop
         chmod 1777 /var/lib/hadoop/cache/
         update-alternatives --install /etc/hadoop/conf hadoop-conf 
/etc/hadoop/conf.empty 10
     ;;


Reply via email to