Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to install flume1.6

Shulou Source: shulou.com Published: 2022-05-31 19:28:37 09月21日 Update

This article mainly introduces how to install flume1.6. It is very detailed and has a certain reference value. Friends who are interested must finish it!

1.apache-flume-1.6.0-bin.tar.gz download

Http://www.apache.org/dyn/closer.lua/flume/1.6.0/apache-flume-1.6.0-bin.tar.gz

two。 Installation

Decompress and configure bash: / etc/profile or .zshrc

➜~ vim .zshrc

# flumeexport FLUME_HOME=home/eric/bigdata/apache-flume-1.6.0-binexport FLUME_CONF_DIR=$FLUME_HOME/confexport PATH=$PATH:$FLUME_HOME/bin

Configure flume JAVA_HOME

Cd. / bigdata/apache-flume-1.6.0-bin/conf, rename flume-env.sh.template to flume-env.sh, and add

Export JAVA_HOME=/usr/lib/jvm/jdk1.8

Inspection

➜~. / bigdata/apache-flume-1.6.0-bin/bin/flume-ng version

Error: main class org.apache.flume.tools.VersionInfo cannot be found or cannot be loaded

Export FLUME_HOME=/home/eric/bigdata/apache-flume-1.6.0-bin

/ home path problem. Bash path must be written correctly!

Restart source .zshrc

➜~ source .zshrc➜ ~. / bigdata/apache-flume-1.6.0-bin/bin/flume-ng versionFlume 1.6.0Source code repository: https://git-wip-us.apache.org/repos/asf/flume.gitRevision: 2561a23240a71ba20bf288c7c2cda88f443c2080Compiled by hshreedharan on Mon May 11 11:15:44 PDT 2015From source with checksum b29e416802ce9ece3269d34233baf43f

The installation was successful, very good!

These are all the contents of the article "how to install flume1.6". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Content article path configuration success value interest guy partner more knowledge industry information information channel error problem channel reference help inspection Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Shulou Tech Info MariaDB vpn Redmi