1) Download "apache-flume-1.4.0-bin.tar.gz"
2) Gunzip and Untar the file at /opt/ds/app/flume-1.4.0
3) Change directory to /opt/ds/app/flume-1.4.0/conf
4) Optionally you can edit log directory
flume.log.dir=/var/log/flume
5) Edit .bashrc
export FLUME_HOME=/opt/ds/app/flume-1.4.0
export FLUME_CONF_DIR=/opt/ds/app/flume-1.4.0/conf
export FLUME_CLASSPATH=$FLUME_CONF_DIR
export PATH=$PATH:$FLUME_HOME/bin
6) execute from shell
> source .bashrc
7) Copy jar to /opt/ds/app/flume-1.4.0/lib
hadoop-auth-2.2.0.jar
hadoop-common-2.2.0.jar
8) From shell
>flume-ng --help
2) Gunzip and Untar the file at /opt/ds/app/flume-1.4.0
3) Change directory to /opt/ds/app/flume-1.4.0/conf
4) Optionally you can edit log directory
flume.log.dir=/var/log/flume
5) Edit .bashrc
export FLUME_HOME=/opt/ds/app/flume-1.4.0
export FLUME_CONF_DIR=/opt/ds/app/flume-1.4.0/conf
export FLUME_CLASSPATH=$FLUME_CONF_DIR
export PATH=$PATH:$FLUME_HOME/bin
6) execute from shell
> source .bashrc
7) Copy jar to /opt/ds/app/flume-1.4.0/lib
hadoop-auth-2.2.0.jar
hadoop-common-2.2.0.jar
8) From shell
>flume-ng --help
Great and helpful article.. After reading this article i am very clear about flume installation and installation explanation are very clear and step by step..
ReplyDeletebest hadoop training in chennai | hadoop training institutes in chennai
Useful blog to everyone.. I learnt flume installation procedure very clear from this article .. thanks a lot for sharing this article
ReplyDeletebest big data training in chennai | best hadoop training