incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1334054 - /incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh
Date Fri, 04 May 2012 16:44:36 GMT
Author: rvs
Date: Fri May  4 16:44:36 2012
New Revision: 1334054

URL: http://svn.apache.org/viewvc?rev=1334054&view=rev
Log:
BIGTOP-577. There's no hadoop-metrics2.properties present in the configs that are shipped.

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=1334054&r1=1334053&r2=1334054&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 May  4
16:44:36 2012
@@ -329,6 +329,8 @@ sed -i -e '/<\/configuration>/i\
 # Make the pseudo-distributed config
 for conf in conf.pseudo ; do
   install -d -m 0755 $HADOOP_ETC_DIR/$conf
+  # Install the upstream config files
+  cp ${BUILD_DIR}/etc/hadoop/*metrics* $HADOOP_ETC_DIR/$conf
   # Overlay the -site files
   (cd $DISTRO_DIR/$conf && tar -cf - .) | (cd $HADOOP_ETC_DIR/$conf && tar
-xf -)
   chmod -R 0644 $HADOOP_ETC_DIR/$conf/*



Mime
View raw message