Repository: bigtop Updated Branches: refs/heads/branch-1.0 78fca2cf3 -> 96fada352
BIGTOP-1886. Kafka server can not create a log-cleaner.log file Signed-off-by: Evans Ye <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/1956d9eb Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/1956d9eb Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/1956d9eb Branch: refs/heads/branch-1.0 Commit: 1956d9eb914ad57cc92cd39fe4fba9c79bd4413e Parents: 78fca2c Author: YoungWoo Kim <[email protected]> Authored: Fri May 29 10:02:30 2015 +0900 Committer: Evans Ye <[email protected]> Committed: Tue Jul 21 14:07:16 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/1956d9eb/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
