bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From evan...@apache.org
Subject [1/3] bigtop git commit: BIGTOP-1886. Kafka server can not create a log-cleaner.log file
Date Tue, 21 Jul 2015 14:02:00 GMT
Repository: bigtop
Updated Branches:
  refs/heads/master 4db34eafc -> 9b5f531b1


BIGTOP-1886. Kafka server can not create a log-cleaner.log file

Signed-off-by: Evans Ye <evansye@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/efdbc455
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/efdbc455
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/efdbc455

Branch: refs/heads/master
Commit: efdbc4550da201fc470f7fceb4f1136dbcd41e60
Parents: 4db34ea
Author: YoungWoo Kim <ywkim@apache.org>
Authored: Fri May 29 10:02:30 2015 +0900
Committer: Evans Ye <evansye@apache.org>
Committed: Tue Jul 21 13:56:30 2015 +0000

----------------------------------------------------------------------
 bigtop-packages/src/common/kafka/install_kafka.sh | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/efdbc455/bigtop-packages/src/common/kafka/install_kafka.sh
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/kafka/install_kafka.sh b/bigtop-packages/src/common/kafka/install_kafka.sh
index 1b044b5..c099c98 100644
--- a/bigtop-packages/src/common/kafka/install_kafka.sh
+++ b/bigtop-packages/src/common/kafka/install_kafka.sh
@@ -146,6 +146,8 @@ done
 # Copy in the configuration files
 install -d -m 0755 $PREFIX/$CONF_DIR
 cp -a ${BUILD_DIR}/config/{tools-log4j.properties,server.properties,log4j.properties} $PREFIX/$CONF_DIR/
+# BIGTOP-1886
+sed -i -e "s|=log-cleaner.log|=$\{kafka.logs.dir\}/log-cleaner.log|" $PREFIX/$CONF_DIR/log4j.properties
 ln -s ${ETC_KAFKA_DIR}/conf $PREFIX/$LIB_DIR/config
 
 # Creating symlink to /var/log/kafka


Mime
View raw message