You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by ev...@apache.org on 2017/03/01 19:24:14 UTC
bigtop git commit: BIGTOP-2692. Flume init script should load only
.conf extension files
Repository: bigtop
Updated Branches:
refs/heads/master 53c5ef7cc -> d39fa855a
BIGTOP-2692. Flume init script should load only .conf extension files
Signed-off-by: Evans Ye <ev...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/d39fa855
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/d39fa855
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/d39fa855
Branch: refs/heads/master
Commit: d39fa855acfc0276c31e406d1af2651a4fa0ded7
Parents: 53c5ef7
Author: Satoshi Iijima <ii...@gmail.com>
Authored: Thu Mar 2 03:11:50 2017 +0800
Committer: Evans Ye <ev...@apache.org>
Committed: Thu Mar 2 03:17:44 2017 +0800
----------------------------------------------------------------------
bigtop-packages/src/common/flume/flume-agent.init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bigtop/blob/d39fa855/bigtop-packages/src/common/flume/flume-agent.init
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/flume/flume-agent.init b/bigtop-packages/src/common/flume/flume-agent.init
index ec179c0..35412e2 100644
--- a/bigtop-packages/src/common/flume/flume-agent.init
+++ b/bigtop-packages/src/common/flume/flume-agent.init
@@ -201,7 +201,7 @@ run_functions_on_conf() {
echo $FLUME_AGENT_NAME
$1
fi
- agent_conf_pattern="${FLUME_CONF_DIR}/flume-.*\.conf"
+ agent_conf_pattern="${FLUME_CONF_DIR}/flume-.*\.conf$"
for f in ${FLUME_CONF_DIR}/*
do
if [ $(echo $f | grep -e ${agent_conf_pattern}) ]; then