Flume Environment Deployment

Source: Internet
Author: User

Document Location:

Http://flume.apache.org/FlumeUserGuide.html#system-requirements

Java Runtime Environment-java 1.8 or later (Java version must be 1.8 or higher)

Memory-sufficient memory for configurations used by sources, channels or sinks (to have enough RAM for channel and source use)

Disk Space-sufficient disk Space for configurations used by channels or sinks (requires enough memory if channel is file type)

Directory permissions-read/write Permissions for directories used by agent (related folders have permission to read and write)
(2) configuration and installation of the environment

1. Install the JDK:

Download JDK

Unzip to/OPT.

Configure Java into system environment variables: Vim ~/.bash_profile, edit environment variables, source ~/.bash_profile let configuration take effect

Export JAVA_HOME=JDK Decompression Path

Export path= $JAVA _home/bin: $PATH

Verification: Java-version

2. Download flume

Download JDK
Unzip to/OPT.
Configure flume to the system environment variable: Vim ~/.bash_profile, after editing the environment variable, the source ~/.bahs_profile let the configuration take effect

Export Flume_home=flume Decompression Path

Export path= $FLUME _home/bin: $PATH

Configure Flume

CD $FLUME _home/conf/, there will be flume-env.sh.temlate in the Conf directory

CP Flume-env.sh.template flume-env.sh

Vim flume-env.sh

In flume-env.sh, you can see the # Export Java_home, as an example, configure the Java_home address in the configuration file

Detection

Flume-ng version

Flume Environment Deployment

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.