You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by pl...@apache.org on 2012/04/13 03:09:08 UTC
svn commit: r1325581 -
/incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh
Author: plinnell
Date: Fri Apr 13 01:09:08 2012
New Revision: 1325581
URL: http://svn.apache.org/viewvc?rev=1325581&view=rev
Log:
BIGTOP-521-Fix Hadoop-Pseudo-Conf File permissions
Modified:
incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh
Modified: incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh?rev=1325581&r1=1325580&r2=1325581&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh Fri Apr 13 01:09:08 2012
@@ -202,8 +202,9 @@ ln -s /var/run/hadoop $LIB_DIR/pids
# Make the pseudo-distributed config
for conf in conf.pseudo ; do
install -d -m 0755 $ETC_DIR/$conf
- # Install the default configurations
+ # Install the default configurations and set some permissions.
(cd ${BUILD_DIR}/conf && tar -cf - .) | (cd $ETC_DIR/$conf && tar -xf -)
+ chmod -R 0644 $ETC_DIR/$conf/*
# Overlay the -site files
(cd $DISTRO_DIR/$conf && tar -cf - .) | (cd $ETC_DIR/$conf && tar -xf -)
# When building straight out of svn we have to account for pesky .svn subdirs