flume安装部署

1.解压

tar -zxvf flume-ng-1.5.0-cdh5.3.6.tar.gz -C /opt/cdh-5.3.6/

2.修改配置文件

mv flume-env.sh.template flume-env.sh
export JAVA_HOME=/usr/java

3.配置flume可用hdfs

1)将core-site,hdfs-site 配置文件放入conf
2)将hdfs相关jar包放入lib
    commons-configuration-1.6.jar   hadoop-common-2.5.0-cdh5.3.6.jar
    hadoop-auth-2.5.0-cdh5.3.6.jar  hadoop-hdfs-2.5.0-cdh5.3.6.jar

4.安装检测

进入flume的bin目录下 执行命令     flume-ng version    

你可能感兴趣的:(flume)