Time for action – installing and configuring Flume
Let's get Flume downloaded and installed.
- Retrieve the most recent Flume NG binary from http://flume.apache.org/ and download and save it to the local filesystem.
- Move the file to the desired location and uncompress it:
$ mv apache-flume-1.2.0-bin.tar.gz /opt $ tar -xzf /opt/apache-flume-1.2.0-bin.tar.gz
- Create a symlink to the installation:
$ ln -s /opt/apache-flume-1.2.0 /opt/flume
- Define the
FLUME_HOME
environment variable:Export FLUME_HOME=/opt/flume
- Add the Flume
bin
directory to your path:Export PATH=${FLUME_HOME}/bin:${PATH}
- Verify that
JAVA_HOME
is set:Echo ${JAVA_HOME}
- Verify that the Hadoop libraries are in the classpath:
$ echo ${CLASSPATH}
- Create the directory that will act as ...
Get Hadoop Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.