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 hduser
and execute the following command on one of the nodes in the Hadoop cluster:
$ sudo yum install sqoop2-server
You can configure the Apache Sqoop2 server using the configuration files present under /etc/sqoop2/conf
.
To install sqoop2-client
, log in...