incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bm...@apache.org
Subject svn commit: r1325089 - /incubator/bigtop/trunk/bigtop-packages/src/common/flume/install_flume.sh
Date Thu, 12 Apr 2012 01:17:24 GMT
Author: bmahe
Date: Thu Apr 12 01:17:23 2012
New Revision: 1325089

URL: http://svn.apache.org/viewvc?rev=1325089&view=rev
Log:
BIGTOP-510. log4j property must be set with property in for Flume NG pkg

Modified:
    incubator/bigtop/trunk/bigtop-packages/src/common/flume/install_flume.sh

Modified: incubator/bigtop/trunk/bigtop-packages/src/common/flume/install_flume.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/common/flume/install_flume.sh?rev=1325089&r1=1325088&r2=1325089&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/common/flume/install_flume.sh (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/common/flume/install_flume.sh Thu Apr 12 01:17:23
2012
@@ -146,6 +146,8 @@ chmod 755 $wrapper
 
 install -d -m 0755 $PREFIX/$ETC_DIR/conf.empty
 (cd ${BUILD_DIR}/conf && tar cf - .) | (cd $PREFIX/$ETC_DIR/conf.empty &&
tar xf -)
+# XXX FIXME: We should handle this upstream more gracefully
+sed -i -e "s|flume\.log\.dir=.*|flume.log.dir=/var/log/flume-ng|" $PREFIX/$ETC_DIR/conf.empty/log4j.properties
 touch $PREFIX/$ETC_DIR/conf.empty/flume.conf
 
 unlink $PREFIX/$FLUME_DIR/conf || /bin/true



Mime
View raw message