Ways To Install CDH 5
You can install CDH 5 in any of the following ways:
- Automated method using Cloudera Manager; instructions here. Cloudera
Manager automates the installation and configuration of CDH 5 on an entire cluster if
you have root or password-less sudo
SSH access to your cluster's machines. Note
:Cloudera recommends that you use the automated method if possible.
- Manual methods described below:
- Download and install the CDH 5 1-click Install" package
- Add the CDH 5 repository
- Build your own CDH 5 repository
- Install from a CDH 5 tarball — see How Packaging Affects CDH 5 Deployment.
The following instructions describe downloading and installing the "1-click Install" package, adding a repository, and building your own repository.
If you use one of these methods rather than Cloudera Manager, the first of these methods (downloading and installing the "1-click Install" package) is recommended in most cases because it is simpler than building or adding a repository.
How Packaging Affects CDH 5 Deployment
Installing from Packages
Installing from a Tarball
- If you install CDH 5 from a tarball, you will install YARN.
- In CDH 5, there is no separate tarball for MRv1. Instead, the MRv1 binaries, examples, etc., are delivered in the Hadoop tarball itself. The scripts for running MRv1 are in the bin-mapreduce1 directory in the tarball, and the MRv1 examples are in the examples-mapreduce1 directory.