Flume is included in the HDP repository, but it is not installed automatically as part of the standard HDP installation process.
The following Flume components have HDP component dependencies. You cannot use these Flume components if the dependencies are not installed.
Table 13.1. Flume 1.4.0 Dependencies
Flume 1.4.0 Component HDP Component Dependencies HDFS Sink Hadoop 2.2.0 HBase Sink HBase 0.96.0
See HDP Deployment Options for more information.
You must correctly set and export your
JAVA_HOME
environment variable for your operating system. See here for instructions on installing JDK.
To install Flume, from a terminal window type:
For RHEL or CentOS
yum install flume yum install flume-agent #This installs init scripts
For SLES
zypper install flume zypper install flume-agent #This installs init scripts
For Ubuntu
apt-get install flume apt-get install flume-agent #This installs init scripts
The installation process automatically sets up the appropriate flume
user and flume
group in the operating system.