Learn Geek languages like Big data,Hadoop,Hive,Pig,Sqoop ,flume,Cassandra,Hbase,Ruby On Rails,Python,Java and many more.

Thursday 7 September 2017

Installation of Apache flume


Steps to install Apache Flume.


Step 1 : Download the Latest Version of Flume. 

Step 2 : tar –xzvf apache-flume-1.5.2-bin.tar.gz

Step 3 :
make a flume name folder in usr/local/

$sudo mkdir /usr/local/flume
then
$ sudo mv apache-flume-1.5.2-bin  /usr/local/flume

Step 4 : sudo gedit .bashrc



paste these below lines in bashrc file at last

Step 5 :
export FLUME_HOME=/usr/local/flume
export FLUME_CONF_DIR=$FLUME_HOME/conf
export FLUME_CLASS_PATH=$FLUME_CONF_DIR
export PATH=$FLUME_HOME/bin:$PATH

Step 6

$ cd /usr/local/flume/apache-flume-1.5.2-bin

$ sudo cp conf/flume-env.sh.template conf/flume-env.sh

Step 7

$ sudo gedit conf/flume-env.sh

 do these changes

JAVA_HOME=/usr/lib/jvm/jdk1.8.0    (must check ur java version)

uncomment this line

JAVA_OPTS="-Xms100m -Xmx200m -Dcom.sun.management.jmxremote"

Step 8

$ sudo cp flume-conf.properties.template  flume-conf.properties

 do these changes..

agent.channels.memoryChannel.type = memory
agent.channels.memoryChannel.capacity = 100


Video for installation of flume


3 comments:

  1. I totally love your site.. Exceptionally pleasant tones and topic. Did you build up this astonishing site yourself? If it's not too much trouble answer back as I'm needing to make my very own site and couldn't imagine anything better than to know where you got this from or what the subject is named. Much appreciated! best interiors

    ReplyDelete
  2. I had the option to discover great data from your blog articles.
    best interiors

    ReplyDelete

if you have any query regarding geek languages,
email on arora.ratul@gmail.com