You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whirr.apache.org by as...@apache.org on 2012/02/07 22:38:19 UTC

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

Author: asavu
Date: Tue Feb  7 21:38:19 2012
New Revision: 1241642

URL: http://svn.apache.org/viewvc?rev=1241642&view=rev
Log:
WHIRR-502. configure_cdh_hadoop.sh: syntax error trying to modify permissions on $HADOOP_LOG_DIR (asavu)

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=1241642&r1=1241641&r2=1241642&view=diff
==============================================================================
--- whirr/trunk/CHANGES.txt (original)
+++ whirr/trunk/CHANGES.txt Tue Feb  7 21:38:19 2012
@@ -71,6 +71,9 @@ Trunk (unreleased changes)
     WHIRR-496. Documentation in 5-Minute guide is missing key 
     option for destroy step (asavu)  
 
+    WHIRR-502. configure_cdh_hadoop.sh: syntax error trying to modify 
+    permissions on $HADOOP_LOG_DIR (asavu)
+
 Release 0.7.0 - 2011-12-11
 
   NEW FEATURES

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=1241642&r1=1241641&r2=1241642&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 Feb  7 21:38:19 2012
@@ -77,7 +77,7 @@ EOF
   mkdir -p $(dirname $HADOOP_LOG_DIR)
   ln -s /data/hadoop/logs $HADOOP_LOG_DIR
   chgrp -R hadoop $HADOOP_LOG_DIR
-  chmod -R $HADOOP_LOG_DIR
+  chmod -R g+w $HADOOP_LOG_DIR
 
   for role in $(echo "$ROLES" | tr "," "\n"); do
     case $role in