You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2012/05/04 18:44:36 UTC

svn commit: r1334054 - /incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh

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/*