You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whirr.apache.org by ab...@apache.org on 2012/08/21 15:17:32 UTC

svn commit: r1375525 - in /whirr/trunk: CHANGES.txt services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh

Author: abayer
Date: Tue Aug 21 13:17:31 2012
New Revision: 1375525

URL: http://svn.apache.org/viewvc?rev=1375525&view=rev
Log:
WHIRR-639. Set ownership to Hadoop group on CDH hadoop data dirs

Modified:
    whirr/trunk/CHANGES.txt
    whirr/trunk/services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh

Modified: whirr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/whirr/trunk/CHANGES.txt?rev=1375525&r1=1375524&r2=1375525&view=diff
==============================================================================
--- whirr/trunk/CHANGES.txt (original)
+++ whirr/trunk/CHANGES.txt Tue Aug 21 13:17:31 2012
@@ -123,6 +123,8 @@ Release 0.8.0 - 2012-08-17
 
   BUG FIXES
 
+    WHIRR-639. Set ownership of CDH Hadoop data dir to Hadoop group. (abayer)
+
     WHIRR-632. CDH4 only available on 64 bit. (abayer)
   
     WHIRR-612. CDH4 can be installed on Ubuntu now as well as CentOS. (abayer)

Modified: whirr/trunk/services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh
URL: http://svn.apache.org/viewvc/whirr/trunk/services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh?rev=1375525&r1=1375524&r2=1375525&view=diff
==============================================================================
--- whirr/trunk/services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh (original)
+++ whirr/trunk/services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh Tue Aug 21 13:17:31 2012
@@ -96,7 +96,8 @@ function make_hadoop_dirs {
   for mount in "$@"; do
     if [ ! -e $mount/hadoop ]; then
       mkdir -p $mount/hadoop
-      chown hadoop:hadoop $mount/hadoop
+      chgrp -R hadoop $mount/hadoop
+      chmod -R g+w $mount/hadoop
     fi
     if [ ! -e $mount/tmp ]; then
       mkdir $mount/tmp