Installation of Flume

Source: Internet
Author: User

1.  installationJdk

refer to the installation of the JDK here.

2.  installationFlume2.1.  DownloadFlume

:http://flume.apache.org/download.html650) this.width=650; "Src=" https://s5.51cto.com/oss/201710/25/ Da9277a9d433278d21a9ccdef349d90a.png-wh_500x0-wm_3-wmp_4-s_3707767358.png "title=" 1.png "alt=" Da9277a9d433278d21a9ccdef349d90a.png-wh_ "/>

Click the link: apache-flume-1.7.0-bin.tar.gz download.

2.2.  Unpacking the installation package

$ tar zxvf apache-flume-1.7.0-bin.tar.gz

2.3.  to move the installation files to the installation directory

$ cp-rapache-flume-1.7.0-bin/software/

2.4.  Create a soft link

$ cd/software/

$ ln-sapache-flume-1.7.0-bin/flume

2.5.  environment variable Configuration2.5.1.  Modify/etc/profilefile

Export Flume_home=/software/flume

Export path= $FLUME _home/bin: $ZOOKEEPER _home/bin: $HBASE _home/bin: $HIVE _home/bin: $JAVA _home/bin: $HADOOP _home/bin: $HADOOP _home/sbin: $PATH

Export classpath=.: $FLUME _home/lib/*: $HBASE _home/lib/*: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar

Restart the configuration after the modification is complete to make the environment variable effective immediately:$ source/etc/profile

2.5.2.  in theConfCreate and modify configuration files under directory

$ CP flume-conf.properties.template Flume-conf.properties

$ CP flume-env.sh.template flume-env.sh

Modify The flume-env.sh file

Set Java_home Environment Variables

Export JAVA_HOME=/SOFTWARE/JDK

2.6.  ValidationFlumewhether the installation was successful

$ flume-ngversion

If successful, the following information appears, otherwise it is unsuccessful.

Flume 1.7.0

Source Code Repository:https://git-wip-us.apache.org/repos/asf/flume.git

revision:511d868555dd4d16e6ce4fedc72c2d1454546707

Compiled by BESSBD on Wed Oct 20:51:10 CEST 2016

From source with checksum 0d21b3ffdc55a07e1d08875872c00523


This article is from the "Technical Exchange" blog, please be sure to keep this source http://duanpeng.blog.51cto.com/1774713/1975911

Installation of Flume

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.