Apache Flume installation

来源:互联网 发布:泡妞宝鉴天地知我心二 编辑:程序博客网 时间:2024/05/17 11:05

1. download & extract the latest package

2. rename the configure files

mv flume-conf.properties.template file flume-conf.properties
mv flume-env.sh.template flume-env.sh

3. vi flume-env.sh

export JAVA_HOME="`dirname $(readlink /etc/alternatives/java)`/../"
export FLUME_HOME="/home/usernmae/flume"
export CLASSPATH=$CLASSPATH:/FLUME_HOME/lib
export PATH=$PATH:/FLUME_HOME/bin

4. check flume installation

bash-4.1$ ./bin/flume-ng version
Flume1.6.0
Source code repository: https://git-wip-us.apache.org/repos/asf/flume.git
Revision: 2561a23240a71ba20bf288c7c2cda88f443c2080
Compiled by hshreedharan on Mon May 1111:15:44PDT2015
From source with checksum b29e416802ce9ece3269d34233baf43f
Labels:

0 0
原创粉丝点击