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:19:26 UTC
svn commit: r1375528 - in /whirr/branches/branch-0.8: CHANGES.txt
services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh
Author: abayer
Date: Tue Aug 21 13:19:25 2012
New Revision: 1375528
URL: http://svn.apache.org/viewvc?rev=1375528&view=rev
Log:
WHIRR-639. Set ownership to Hadoop group on CDH hadoop data dirs
Modified:
whirr/branches/branch-0.8/CHANGES.txt
whirr/branches/branch-0.8/services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh
Modified: whirr/branches/branch-0.8/CHANGES.txt
URL: http://svn.apache.org/viewvc/whirr/branches/branch-0.8/CHANGES.txt?rev=1375528&r1=1375527&r2=1375528&view=diff
==============================================================================
--- whirr/branches/branch-0.8/CHANGES.txt (original)
+++ whirr/branches/branch-0.8/CHANGES.txt Tue Aug 21 13:19:25 2012
@@ -121,6 +121,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/branches/branch-0.8/services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh
URL: http://svn.apache.org/viewvc/whirr/branches/branch-0.8/services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh?rev=1375528&r1=1375527&r2=1375528&view=diff
==============================================================================
--- whirr/branches/branch-0.8/services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh (original)
+++ whirr/branches/branch-0.8/services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh Tue Aug 21 13:19:25 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