Installing the CDH components

With a basic Hadoop cluster up and running, we can now install some of the important CDH components.

Installing Apache Flume

To install Apache Flume, log in as hduser and execute the following commands:

$ sudo yum install flume-ng
$ sudo yum install flume-ng-agent

You can configure Apache Flume using the configuration files present under /etc/flume-g/conf.

Installing Apache Sqoop

To install Apache Sqoop, log in as hduser and execute the following command:

$ sudo yum install sqoop

You can configure Apache Sqoop using the configuration files present under /etc/sqoop/conf.

Installing Apache Sqoop 2

Under Sqoop 2, the services are divided into two parts: sqoop2-client and sqoop2-server.

To install sqoop2-server, log in as

Get Cloudera Administration Handbook 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.