Installing Older Versions of Cloudera Manager 5
The Cloudera Manager installation solutions, such as the installer downloadable from the Cloudera Downloads website, install the most recent version of Cloudera Manager. This ensures that you install the latest features and bug fixes. While having the latest version of Cloudera Manager is valuable, in some cases it may be necessary to install previous versions.
The most common reason to install a previous version is when you want to expand an existing cluster. In this case, follow the instructions in Adding a Host to the Cluster,
You can also add a cluster to be managed by the same instance of Cloudera Manager – you do this using the Add Cluster feature from the Services page in the Cloudera Manager Admin Console. In this case, follow the instructions in Adding a Cluster.
You may also want to install a previous version of the Cloudera Manager server on a new cluster if, for example, you have validated a specific version and want to deploy that version on additional clusters. Installing an older version of Cloudera Manager requires several manual steps to install and configure the database and the correct version of the Cloudera Manager Server. Once these are done, you can run the Express wizard to complete the installation of Cloudera Manager and CDH.
- Before You Begin
- Establish Your Cloudera Manager Repository Strategy
- Install the Oracle JDK
- Install the Cloudera Manager Server Packages
- Set up a Database for the Cloudera Manager Server
- (Optional) Install Cloudera Manager Agent, CDH, and Managed Service Software
- Start the Cloudera Manager Server
- (Optional) Start the Cloudera Manager Agents
- Choose Cloudera Manager Edition and Hosts
- Choose Software Installation Method and Install Software
- Add Services
- Change the Default Administrator Password
- Test the Installation
Before You Begin
Install and Configure Databases
Cloudera Manager Server, Cloudera Management Service, and the Hive Metastore data is stored in a database. Install and configure required databases following the instructions in Cloudera Manager and Managed Service Databases.
(CDH 5 only) On RHEL and CentOS 5, Install Python 2.6 or 2.7
Python 2.6 or 2.7 is required to run Hue. RHEL 5 and CentOS 5, in particular, require the EPEL repository package.
$ su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm' ... $ yum install python26
Establish Your Cloudera Manager Repository Strategy
- Download and Edit the Repo File for
RHEL-compatible OSs or SLES
- Download the Cloudera Manager repo file (cloudera-manager.repo) for your OS version using the links provided in the Cloudera Manager Version and Download Information page. For example, for Red Hat/CentOS 6, this is found at http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/cloudera-manager.repo
- Edit the file to change the baseurl to point to the specific version of Cloudera Manager you want to download. For example, if you want to install Cloudera Manager version 5.0.1, change: baseurl=http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5/ to baseurl=http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5.0.1/.
- Save the edited file:
- For Red Hat or CentOS, save it in /etc/yum.repos.d/.
- For SLES, save it in /etc/zypp/repos.d.
- Download and Edit the cloudera.list
file for Debian or Apt
- Download the Cloudera Manager list file (cloudera.list) using the links provided at Cloudera Manager Version and Download Information. For example, for for Ubuntu 10.04 (lucid), this is found at http://archive.cloudera.com/cm5/ubuntu/lucid/amd64/cm/cloudera.list
- Edit the file to change the second-to-last element to specify the version of Cloudera Manager you want to install. For example, with Ubuntu lucid, for if you want to install Cloudera Manager version 5.0.1, change: deb http://archive.cloudera.com/cm5/ubuntu/lucid/amd64/cm lucid-cm5 contrib to deb http://archive.cloudera.com/cm5/ubuntu/lucid/amd64/cm lucid-cm5.0.1 contrib.
- Save the edited file in the directory /etc/apt/sources.list.d/.
Install the Oracle JDK
Install the Oracle Java Development Kit (JDK) on the Cloudera Manager Server host.
OS | Command |
---|---|
RHEL |
$ sudo yum install jdk |
SLES |
$ sudo zypper install jdk |
Ubuntu or Debian |
$ sudo apt-get install jdk |
Install the Cloudera Manager Server Packages
OS | Command |
---|---|
RHEL, if you have a yum repo configured |
$ sudo yum install cloudera-manager-daemons cloudera-manager-server |
RHEL,if you're manually transferring RPMs |
$ sudo yum --nogpgcheck localinstall cloudera-manager-daemons-*.rpm $ sudo yum --nogpgcheck localinstall cloudera-manager-server-*.rpm |
SLES |
$ sudo zypper install cloudera-manager-daemons cloudera-manager-server |
Ubuntu or Debian |
$ sudo apt-get install cloudera-manager-daemons cloudera-manager-server |
Set up a Database for the Cloudera Manager Server
Set up the Cloudera Manager Server database as described in Setting up the Cloudera Manager Server Database.
(Optional) Install Cloudera Manager Agent, CDH, and Managed Service Software
You can have Cloudera Manager install Cloudera Manager Agent packages or manually install the packages yourself. Similarly, you can allow Cloudera Manager to install CDH and managed service software or manually install the software yourself.
If you choose to have Cloudera Manager install the software (in Choose Software Installation Method and Install Software), you must satisfy the requirements described in Choosing an Installation Path. If you satisfy the requirements and choose to have Cloudera Manager install software, you can go to Start the Cloudera Manager Server. Otherwise, proceed with the following sections.
Install the Oracle JDK
Install Cloudera Manager Agent Packages
- Use one of the following commands to install the Cloudera Manager Agent packages:
OS Command RHEL, if you have a yum repo configured: $ sudo yum install cloudera-manager-agent cloudera-manager-daemons
RHEL, if you're manually transferring RPMs: $ sudo yum --nogpgcheck localinstall cloudera-manager-agent-package.*.x86_64.rpm cloudera-manager-daemons
SLES $ sudo zypper install cloudera-manager-agent cloudera-manager-daemons
Ubuntu or Debian $ sudo apt-get install cloudera-manager-agent cloudera-manager-daemons
- On every Cloudera Manager Agent host, configure the Cloudera Manager Agent to point to the Cloudera Manager Server by setting the following properties in the /etc/cloudera-scm-agent/config.ini configuration file:
For more information on Agent configuration options, see Agent Configuration File.
Property Description server_host Name of host where the Cloudera Manager Server is running. server_port Port on host where the Cloudera Manager Server is running.
Install CDH and Managed Service Packages
For more information about manually installing CDH packages, see CDH 4 Installation Guide or CDH 5 Installation Guide.
- Choose a repository strategy:
- Standard Cloudera repositories. For this method, ensure you have added the required repository information to your systems.
- Internally hosted repositories. You might use internal repositories for environments where hosts do not have access to the Internet. In such a case, ensure your environment is properly prepared. For more information, see Understanding Custom Installation Solutions.
- Install packages:
CDH Version Procedure CDH 5 - Red Hat
- Download and install the "1-click Install" package
- Download the CDH 5 "1-click Install" package.
Click the entry in the table below that matches your Red Hat or CentOS system, choose Save File, and save the file to a directory to which you have write access (it can be your home directory).
OS Version Click this Link Red Hat/CentOS/Oracle 5 Red Hat/CentOS/Oracle 5 link Red Hat/CentOS/Oracle 6 Red Hat/CentOS/Oracle 6 link - Install the RPM:
- Red Hat/CentOS/Oracle 5
$ sudo yum --nogpgcheck localinstall cloudera-cdh-5-0.x86_64.rpm
- Red Hat/CentOS/Oracle 6
$ sudo yum --nogpgcheck localinstall cloudera-cdh-5-0.x86_64.rpm
- Red Hat/CentOS/Oracle 5
- Download the CDH 5 "1-click Install" package.
- (Optionally) add a repository key:
- Red Hat/CentOS/Oracle 5
$ sudo rpm --import http://archive.cloudera.com/cdh5/redhat/5/x86_64/cdh/RPM-GPG-KEY-cloudera
- Red Hat/CentOS/Oracle 6
$ sudo rpm --import http://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/RPM-GPG-KEY-cloudera
- Red Hat/CentOS/Oracle 5
- Install the CDH packages:
$ sudo yum clean all $ sudo yum install avro-tools crunch flume-ng hadoop-hdfs-fuse hadoop-hdfs-nfs3 hadoop-httpfs hbase-solr hive-hbase hive-webhcat hue-beeswax hue-hbase hue-impala hue-pig hue-plugins hue-rdbms hue-search hue-spark hue-sqoop hue-zookeeper impala impala-shell kite llama mahout oozie pig pig-udf-datafu search sentry solr-mapreduce spark-python sqoop sqoop2 whirr
Note: Installing these packages will also install all the other CDH packages that are needed for a full CDH 5 installation.
- Download and install the "1-click Install" package
- SLES
- Download and install the "1-click Install" package.
- Download the CDH 5 "1-click Install" package.
Click this link, choose Save File, and save it to a directory to which you have write access (it can be your home directory).
- Install the RPM:
$ sudo rpm -i cloudera-cdh-5-0.x86_64.rpm
- Update your system package index by running:
$ sudo zypper refresh
- Download the CDH 5 "1-click Install" package.
- (Optionally) add a repository key:
$ sudo rpm --import http://archive.cloudera.com/cdh5/sles/11/x86_64/cdh/RPM-GPG-KEY-cloudera
- Install the CDH packages:
$ sudo zypper clean --all $ sudo zypper install avro-tools crunch flume-ng hadoop-hdfs-fuse hadoop-hdfs-nfs3 hadoop-httpfs hbase-solr hive-hbase hive-webhcat hue-beeswax hue-hbase hue-impala hue-pig hue-plugins hue-rdbms hue-search hue-spark hue-sqoop hue-zookeeper impala impala-shell kite llama mahout oozie pig pig-udf-datafu search sentry solr-mapreduce spark-python sqoop sqoop2 whirr
Note: Installing these packages will also install all the other CDH packages that are needed for a full CDH 5 installation.
- Download and install the "1-click Install" package.
- Ubuntu and Debian
- Download and install the "1-click Install" package
- Download the CDH 5 "1-click Install" package:
OS Version Click this Link Wheezy Wheezy link Precise Precise link - Install the package. Do one of the following:
- Choose Open with in the download window to use the package manager.
- Choose Save File, save the package to a directory to which you have write access (it can be your home directory) and install it from the command line, for example:
sudo dpkg -i cdh5-repository_1.0_all.deb
- Download the CDH 5 "1-click Install" package:
- (Optionally) add a repository key:
- Debian Wheezy
$ curl -s http://archive.cloudera.com/cdh5/debian/wheezy/amd64/cdh/archive.key | sudo apt-key add -
- Ubuntu Precise
$ curl -s http://archive.cloudera.com/cdh5/ubuntu/precise/amd64/cdh/archive.key | sudo apt-key add -
- Debian Wheezy
- Install the CDH packages:
$ sudo apt-get update $ sudo apt-get install avro-tools crunch flume-ng hadoop-hdfs-fuse hadoop-hdfs-nfs3 hadoop-httpfs hbase-solr hive-hbase hive-webhcat hue-beeswax hue-hbase hue-impala hue-pig hue-plugins hue-rdbms hue-search hue-spark hue-sqoop hue-zookeeper impala impala-shell kite llama mahout oozie pig pig-udf-datafu search sentry solr-mapreduce spark-python sqoop sqoop2 whirr
Note: Installing these packages will also install all the other CDH packages that are needed for a full CDH 5 installation.
- Download and install the "1-click Install" package
CDH 4, Impala, and Solr - Red Hat-compatible
- Click the entry in the table at CDH Download Information that matches your Red Hat or CentOS system.
- Navigate to the repo file (cloudera-cdh4.repo) for your system and save it in the /etc/yum.repos.d/ directory.
- Optionally add a repository key:
- Red Hat/CentOS/Oracle 5
$ sudo rpm --import http://archive.cloudera.com/cdh4/redhat/5/x86_64/cdh/RPM-GPG-KEY-cloudera
- Red Hat/CentOS 6
$ sudo rpm --import http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/RPM-GPG-KEY-cloudera
- Red Hat/CentOS/Oracle 5
- Install packages on every host in your cluster:
- Install CDH 4 packages:
$ sudo yum -y install bigtop-utils bigtop-jsvc bigtop-tomcat hadoop hadoop-hdfs hadoop-httpfs hadoop-mapreduce hadoop-yarn hadoop-client hadoop-0.20-mapreduce hue-plugins hbase hive oozie oozie-client pig zookeeper
- To install the hue-common package and all Hue applications on the Hue host, install the hue meta-package:
$ sudo yum install hue
- Install CDH 4 packages:
- (Requires CDH 4.2 or later) Install Impala
- Click the entry in the table at Cloudera Impala Version and Download Information that matches your Red Hat or CentOS system.
- Navigate to the repo file for your system and save it in the /etc/yum.repos.d/ directory.
- Install Impala and the Impala Shell on Impala machines:
$ sudo yum -y install impala impala-shell
- (Requires CDH 4.3 or later) Install Search
- Click the entry in the table at Cloudera Search Version and Download Information that matches your Red Hat or CentOS system.
- Navigate to the repo file for your system and save it in the /etc/yum.repos.d/ directory.
- Install the Solr Server on machines where you want Cloudera Search.
$ sudo yum -y install solr-server
- SLES
- Run the following command:
$ sudo zypper addrepo -f http://archive.cloudera.com/cdh4/sles/11/x86_64/cdh/cloudera-cdh4.repo
- Update your system package index by running:
$ sudo zypper refresh
- Optionally add a repository key:
$ sudo rpm --import http://archive.cloudera.com/cdh4/sles/11/x86_64/cdh/RPM-GPG-KEY-cloudera
- Install packages on every host in your cluster:
- Install CDH 4 packages:
$ sudo zypper install bigtop-utils bigtop-jsvc bigtop-tomcat hadoop hadoop-hdfs hadoop-httpfs hadoop-mapreduce hadoop-yarn hadoop-client hadoop-0.20-mapreduce hue-plugins hbase hive oozie oozie-client pig zookeeper
- To install the hue-common package and all Hue applications on the Hue host, install the hue meta-package:
$ sudo zypper install hue
- (Requires CDH 4.2 or later) Install Impala
- Run the following command:
$ sudo zypper addrepo -f http://archive.cloudera.com/impala/sles/11/x86_64/impala/cloudera-impala.repo
- Install Impala and the Impala Shell on Impala machines:
$ sudo zypper install impala impala-shell
- Run the following command:
- (Requires CDH 4.3 or later) Install Search
- Run the following command:
$ sudo zypper addrepo -f http://archive.cloudera.com/search/sles/11/x86_64/search/cloudera-search.repo
- Install the Solr Server on machines where you want Cloudera Search.
$ sudo zypper install solr-server
- Run the following command:
- Install CDH 4 packages:
- Run the following command:
- Ubuntu or Debian
- Click the entry in the table at CDH Version and Packaging Information that matches your Ubuntu or Debian system.
- Navigate to the list file (cloudera.list) for your system and save it in the /etc/apt/sources.list.d/ directory. For example, to install CDH 4 for 64-bit Ubuntu Lucid, your cloudera.list file should look like:
deb [arch=amd64] http://archive.cloudera.com/cdh4/ubuntu/lucid/amd64/cdh lucid-cdh4 contrib deb-src http://archive.cloudera.com/cdh4/ubuntu/lucid/amd64/cdh lucid-cdh4 contrib
- Optionally add a repository key:
-
Ubuntu Lucid
$ curl -s http://archive.cloudera.com/cdh4/ubuntu/lucid/amd64/cdh/archive.key | sudo apt-key add -
-
Ubuntu Precise
$ curl -s http://archive.cloudera.com/cdh4/ubuntu/precise/amd64/cdh/archive.key | sudo apt-key add -
-
Debian Squeeze
$ curl -s http://archive.cloudera.com/cdh4/debian/squeeze/amd64/cdh/archive.key | sudo apt-key add -
-
Ubuntu Lucid
- Install packages on every host in your cluster:
- Install CDH 4 packages:
$ sudo apt-get install bigtop-utils bigtop-jsvc bigtop-tomcat hadoop hadoop-hdfs hadoop-httpfs hadoop-mapreduce hadoop-yarn hadoop-client hadoop-0.20-mapreduce hue-plugins hbase hive oozie oozie-client pig zookeeper
- To install the hue-common package and all Hue applications on the Hue host, install the hue meta-package:
$ sudo apt-get install hue
- (Requires CDH 4.2 or later) Install Impala
- Click the entry in the table at Cloudera Impala Version and Download Information and that matches your Ubuntu or Debian system.
- Navigate to the list file for your system and save it in the /etc/apt/sources.list.d/ directory.
- Install Impala and the Impala Shell on Impala machines:
$ sudo apt-get install impala impala-shell
- (Requires CDH 4.3 or later) Install Search
- Click the entry in the table at Cloudera Search Version and Download Information that matches your Ubuntu or Debian system.
- Install Solr Server on machines where you want Cloudera Search:
$ sudo apt-get install solr-server
- Install CDH 4 packages:
- Red Hat
Start the Cloudera Manager Server
- Shut down HDFS and MapReduce. See Stopping Services (for CDH 4) or Stopping Services (for CDH 5) for the commands to stop these services.
- Configure the init scripts to not start on boot, use commands similar to those shown in Configuring init to Start Core Hadoop System Services or Configuring init to Start Core Hadoop System Services but disable the start on boot (for example, $ sudo chkconfig hadoop-hdfs-namenode off).
- Run this command on the Cloudera Manager Server host:
$ sudo service cloudera-scm-server start
If the Cloudera Manager Server does not start, see Troubleshooting Installation and Upgrade Problems.
(Optional) Start the Cloudera Manager Agents
$ sudo service cloudera-scm-agent startWhen the Agent starts up, it contacts the Cloudera Manager Server. If there is a communication failure between a Cloudera Manager Agent and Cloudera Manager Server, see Troubleshooting Installation and Upgrade Problems.
When the Agent hosts reboot, cloudera-scm-agent starts automatically.
Choose Cloudera Manager Edition and Hosts
The following instructions describe how to use the Cloudera Manager wizard to choose which edition of Cloudera Manager you are using and which hosts will run CDH and managed services.
- When you start the Cloudera Manager Admin Console, the install wizard starts up. Click Continue to get started.
- Choose which edition to install:
- Cloudera Express, does not require a license, but provides a somewhat limited set of features.
- Cloudera Enterprise Data Hub Edition Trial, does not require a license, but expires after 60 days and cannot be renewed.
- Cloudera Enterprise with one of the following license
types:
- Basic Edition
- Flex Edition
- Data Hub Edition
- If you have elected Cloudera Enterprise, install a license:
- Click Upload License.
- Click the document icon to the left of the Select a License File text field.
- Navigate to the location of your license file, click the file, and click Open.
- Click Upload.
- Click Continue in the next screen. The Specify Hosts page displays.
- Do one of the following:
- If you installed Cloudera Agent packages in Install Cloudera Manager Agent Packages, choose from among hosts with the packages installed:
- Click the Currently Managed Hosts tab.
- Choose the hosts to add to the cluster.
- Search for and choose hosts:
- To enable Cloudera Manager to automatically discover hosts on which to install CDH and managed services, enter the cluster hostnames or IP addresses. You can also specify hostname and IP address ranges. For example:
Range Definition Matching Hosts 10.1.1.[1-4] 10.1.1.1, 10.1.1.2, 10.1.1.3, 10.1.1.4 host[1-3].company.com host1.company.com, host2.company.com, host3.company.com host[07-10].company.com host07.company.com, host08.company.com, host09.company.com, host10.company.com You can specify multiple addresses and address ranges by separating them by commas, semicolons, tabs, or blank spaces, or by placing them on separate lines. Use this technique to make more specific searches instead of searching overly wide ranges. The scan results will include all addresses scanned, but only scans that reach hosts running SSH will be selected for inclusion in your cluster by default. If you don't know the IP addresses of all of the hosts, you can enter an address range that spans over unused addresses and then deselect the hosts that do not exist (and are not discovered) later in this procedure. However, keep in mind that wider ranges will require more time to scan.
- Click Search. Cloudera Manager identifies the hosts on your cluster to allow you to configure them for services. If there are a large number of hosts on your cluster, wait a few moments to allow them to be discovered and shown in the wizard. If the search is taking too long, you can stop the scan by clicking Abort Scan. To find additional hosts, click New Search, add the host names or IP addresses and click Search again. Cloudera Manager scans hosts by checking for network connectivity. If there are some hosts where you want to install services that are not shown in the list, make sure you have network connectivity between the Cloudera Manager Server host and those hosts. Common causes of loss of connectivity are firewalls and interference from SELinux.
- Verify that the number of hosts shown matches the number of hosts where you want to install services. Deselect host entries that do not exist and deselect the hosts where you do not want to install services. Click Continue. The Select Repository page displays.
- To enable Cloudera Manager to automatically discover hosts on which to install CDH and managed services, enter the cluster hostnames or IP addresses. You can also specify hostname and IP address ranges. For example:
- If you installed Cloudera Agent packages in Install Cloudera Manager Agent Packages, choose from among hosts with the packages installed:
- Click Continue. The Select Repository page displays.
Choose Software Installation Method and Install Software
The following instructions describe how to use the Cloudera Manager wizard to install Cloudera Manager Agent, CDH, and managed service software.
- Select how CDH and managed service software is installed: packages or parcels:
- Use Packages - If you did not install packages in Install CDH and Managed Service Packages, click the package versions to install. Otherwise, select the CDH version (CDH 4 or CDH 5) that matches the packages that you installed manually.
- Use Parcels
- Choose the parcels to install. The choices you see depend on the repositories you have chosen – a repository may contain multiple parcels. Only the parcels for the latest supported service versions are configured by default. You can add additional parcels for previous versions by specifying custom repositories. For example, you can find the locations of the previous CDH 4 parcels at http://archive.cloudera.com/cdh4/parcels/. Or, if you are installing CDH 4.3 and want to use Sentry for Hive Authorization, you can add the Sentry parcel using this mechanism. To add a custom parcel repository:
- Enter the URL of the repository into More Options field, and click the + Add button. The URL you specify is added to the list of repositories listed in the Configuring Server Parcel Settings page and a parcel is added to the list of parcels on the Select Repository page. If you have multiple repositories configured, you will see all the unique parcels contained in all your repositories.
- Choose the parcels to install. The choices you see depend on the repositories you have chosen – a repository may contain multiple parcels. Only the parcels for the latest supported service versions are configured by default.
- If you did not install Cloudera Manager Agent packages in Install Cloudera Manager Agent Packages, do the following:
- Select the release of Cloudera Manager Agent to install. You can choose either the version that matches the Cloudera Manager Server you are currently using or specify a version in a custom repository.
- If you opted to use custom repositories for installation files, you can provide a GPG key URL that applies for all repositories.
- Click Continue. The Configure Java Encryption page displays.
- If your local laws permit you to deploy unlimited strength encryption and you are running a secure cluster, check the Install Java Unlimited Strength Encryption Policy Files checkbox. Click Continue.
- If you chose to have Cloudera Manager install packages, specify host installation properties:
- Select root or enter the user name for an account that has password-less sudo permission.
- Select an authentication
method:
- If you choose to use password authentication, enter and confirm the password.
- If you choose to use public-key authentication provide a passphrase and path to the required key files.
- You can choose to specify an alternate SSH port. The default value is 22.
- You can specify the maximum number of host installations to run at once. The default value is 10.
- Click Continue. If you did not install packages in (Optional) Install Cloudera Manager Agent, CDH, and Managed Service Software, Cloudera Manager installs the Oracle JDK, Cloudera Manager Agent,packages and CDH and managed service packages or parcels. During the parcel installation, progress is indicated for the two phases of the parcel installation process (Download and Distribution) in a separate progress bars. If you are installing multiple parcels you will see progress bars for each parcel. When the Continue button appears at the bottom of the screen, the installation process is completed. Click Continue.
- Click Continue. The Host Inspector runs to validate the installation, and provides a summary of what it finds, including all the versions of the installed components. If the validation is successful, click Finish. The Cluster Setup page displays.
Add Services
The following instructions describe how to use the Cloudera Manager wizard to configure and start CDH and managed services.
- In the first page of the Add Services wizard you
choose the combination of services to install and whether to install
Cloudera Navigator:
- Click the radio button next to the combination
of services to install:
As you select the services, keep the following in mind:
CDH 4 CDH 5 - Core Hadoop - HDFS, MapReduce, ZooKeeper, Oozie, Hive, and Hue
- Core with HBase
- Core with Impala
- All Services - HDFS, MapReduce, ZooKeeper, HBase, Impala, Oozie, Hive, Hue, and Sqoop
- Custom Services - Any combination of services.
- Core Hadoop - HDFS, YARN (includes MapReduce 2), ZooKeeper, Oozie, Hive, Hue, and Sqoop
- Core with HBase
- Core with Impala
- Core with Search
- Core with Spark
- All Services - HDFS, YARN (includes MapReduce 2), ZooKeeper, Oozie, Hive, Hue, Sqoop, HBase, Impala, Solr, Spark, and Key-Value Store Indexer
- Custom Services - Any combination of services.
- Some services depend on other services; for example, HBase requires HDFS and ZooKeeper. Cloudera Manager tracks dependencies and installs the correct combination of services.
- In a CDH 4 cluster, the MapReduce service is the default MapReduce computation framework. Choose Custom Services to
install YARN or use the Add Service functionality to add
YARN after installation completes. Important
: You can create a YARN service in a CDH 4 cluster, but it is not considered production ready. - In a CDH 5 cluster, the YARN service is the default MapReduce computation framework. Choose Custom Services to
install MapReduce or use the Add Service functionality to
add MapReduce after installation completes.Important
: In CDH 5 the MapReduce service has been deprecated. However, the MapReduce service is fully supported for backward compatibility through the CDH 5 life cycle. - The Flume service can be added only after your cluster has been set up.
- If you have chosen Data Hub Edition Trial or Cloudera Enterprise, optionally check the Include Cloudera Navigator checkbox to enable Cloudera Navigator. See the Cloudera Navigator Documentation.
- Click the radio button next to the combination
of services to install:
- Customize the assignment of role instances to hosts. The wizard evaluates the hardware configurations of the hosts to determine the best hosts for each role. The wizard assigns all worker roles to the same set of hosts to which the HDFS DataNode role is assigned. These assignments are typically acceptable, but you can reassign services to hosts of your choosing, if desired.
Click a field below a role to display a dialog containing a pageable list of hosts. If you click a field containing multiple hosts, you can also select All Hosts to assign the role to all hosts or Custom to display the pageable hosts dialog.
The following shortcuts for specifying host names are supported:- Range of hostnames (without the domain portion)
Range Definition Matching Hosts 10.1.1.[1-4] 10.1.1.1, 10.1.1.2, 10.1.1.3, 10.1.1.4 host[1-3].company.com host1.company.com, host2.company.com, host3.company.com host[07-10].company.com host07.company.com, host08.company.com, host09.company.com, host10.company.com - IP addresses
- Rack name
Click the View By Host button for an overview of the role assignment by host ranges.
- Range of hostnames (without the domain portion)
- When you are satisfied with the assignments, click Continue. The Database Setup page displays.
- On the Database Setup page, configure settings for required databases:
- Provide information for the Activity Monitor (only needed when using MapReduce), Reports Manager, and Hive Metastore, and Cloudera Navigator databases. The value you enter as the database hostname must match the value you entered for the hostname (if any) when you created the database.
- Click Test Connection to confirm that Cloudera Manager can communicate with the databases using the information you have supplied. If the test succeeds in all cases, click Continue; otherwise check and correct the information you have provided for the databases and then try the test again. (For Hive, if you are using the embedded database, you will see a message saying the database will be created at a later point in the installation process.) The Review Changes page displays.
- Review the configuration changes to be applied.
Confirm the settings entered for file system paths. The file paths required
vary based on the services to be installed. For example, you might confirm
the NameNode Data Directory and the DataNode Data Directory for HDFS.WarningClick Continue. The wizard starts the services.
: DataNode data directories should not be placed on NAS devices. - When all of the services are started, click Continue. You will see a success message indicating that your cluster has been successfully started.
- Click Finish to proceed to the Home Page.
Change the Default Administrator Password
- Right-click the logged-in username at the far right of the top navigation bar and select Change Password.
- Enter the current password, and a new password twice and then click Submit.
Test the Installation
You can test the installation following the instructions in Testing the Installation.
<< Configuring a Custom Java Home Location | Deploying Clients >> | |