Flume

Flume,第1张

Flume

前提:已解压flume包改名后放于/usr/local


vi /etc/profile
export FLUME_HOME=/usr/local/flume
export PATH=$PATH:${FLUME_HOME}/bin
source /etc/profile


cd /usr/local/flume/conf/
mv flume-env.sh.template flume-env.sh
vi flume-env.sh
export JAVA_HOME=/usr/local/jdk

cd /usr/local/flume/conf/
vi   netcat-logger.conf
1


cd /usr/local/flume/
bin/flume-ng agent -c conf -f conf/netcat-logger.conf -n a1  -Dflume.root.logger=INFO,console


 

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5608328.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-15
下一篇 2022-12-15

发表评论

登录后才能评论

评论列表(0条)

保存