标签:home org 采集 guid oop software arc html nbsp
http://flume.apache.org/FlumeUserGuide.html
http://archive.apache.org/dist/flume/
1)将apache-flume-1.7.0-bin.tar.gz上传到服务器的/opt/software目录下
2)解压apache-flume-1.7.0-bin.tar.gz到 /opt/moldule 目录下
[test@hadoop102 software]$ tar -zxf apache-flume-1.7.0-bin.tar.gz -C /opt/module/
3)修改apache-flume-1.7.0-bin的名称为flume
[test@hadoop102 module]$ mv apache-flume-1.7.0-bin flume
4)将flume/conf下的flume-env.sh.template文件修改为flume-env.sh,并配置flume-env.sh文件
[test@hadoop102 conf]$ mv flume-env.sh.template flume-env.sh
[test@hadoop102 conf]$ vi flume-env.sh
export JAVA_HOME=/opt/module/jdk1.8.0_144
传到HDFS需要将jar包置入/opt/module/flume/lib中
标签:home org 采集 guid oop software arc html nbsp
原文地址:https://www.cnblogs.com/solomongold/p/12535001.html