$ su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm' ... $ yum install python26
Read Cloudera Manager and Managed Service Data Stores. If you are using an external database, install and configure a database as described in MySQL Database,Oracle Database, or External PostgreSQL Database. html
Cloudera recommends installing products using package management tools such as yum for Red Hat compatible systems, zypper for SLES, and apt-get for Debian/Ubuntu. These tools depend on access to repositories to install software. For example, Cloudera maintains Internet-accessible repositories for CDH and Cloudera Manager installation files. Strategies for installing Cloudera Manager include: node
OS Version | Repo URL |
---|---|
Red Hat/CentOS/Oracle 5 | http://archive.cloudera.com/cm5/redhat/5/x86_64/cm/cloudera-manager.repo |
Red Hat/CentOS 6 | http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/cloudera-manager.repo |
$ sudo zypper addrepo -f http://archive.cloudera.com/cm5/sles/11/x86_64/cm/cloudera-manager.repo
$ sudo zypper refresh
OS Version | Repo URL |
---|---|
Ubuntu Trusty (14.04) | http://archive.cloudera.com/cm5/ubuntu/trusty/amd64/cm/cloudera.list |
Ubuntu Precise (12.04) | http://archive.cloudera.com/cm5/ubuntu/precise/amd64/cm/cloudera.list |
Ubuntu Lucid (10.04) | http://archive.cloudera.com/cm5/ubuntu/lucid/amd64/cm/cloudera.list |
Debian Wheezy (7.0 and 7.1) | http://archive.cloudera.com/cm5/debian/wheezy/amd64/cm/cloudera.list |
Debian Wheezy (6.0) | http://archive.cloudera.com/cm5/debian/squeeze/amd64/cm/cloudera.list |
$ sudo apt-get update
Install the Oracle Java Development Kit (JDK) on the Cloudera Manager Server host. python
OS | Command |
---|---|
RHEL | $ sudo yum install oracle-j2sdk1.7 |
SLES | $ sudo zypper install oracle-j2sdk1.7 |
Ubuntu or Debian | $ sudo apt-get install oracle-j2sdk1.7 |
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 |
能夠使用Cloudera Manager 安裝Oracle JDK,Cloudera Manager Agent包,CDH及其餘服務(Choose the Software Installation Type and Install Software)也能夠手動安裝。使用ClouderaManager安裝必須須要知足這裏的描述Cloudera Manager Deployment. mysql
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 |
Property | Description |
---|---|
server_host | Cloudera Manager Server的機器名 |
server_port | Cloudera Manager Server 的端口 |
CDH Version | Procedure | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CDH 5 |
|
||||||||||||||
CDH 4, Impala, and Solr |
|
If you want to use Cloudera Navigator Key Trustee Server as the underlying key store for HDFS Data At Rest Encryption, install the Key Trustee KMS. shell
OS Version | Repository URL |
---|---|
RHEL-compatible 6 | RHEL 6 Repository |
RHEL-compatible 5 | RHEL 5 Repository |
SLES 11 | SLES 11 Repository |
Ubuntu Trusty (14.04) | Ubuntu Trusty Repository |
Ubuntu Precise (12.04) | Ubuntu Precise Repository |
Debian Wheezy (7.0 and 7.1) | Debian Wheezy Repository |
Download the repository and copy it to the /etc/yum.repos.d/ directory. Refresh the package index by running sudo yum clean all. 數據庫
$ sudo zypper addrepo -f<repository_url>
Refresh the package index by running sudo zypper refresh. ubuntu
Copy the content of the appropriate cloudera.list file from the above repository table and append it to the /etc/apt/sources.list.d/cloudera.list file. Create the file if it does not exist. Refresh the package index by running sudo apt-get update. tomcat
$ sudo yum install keytrustee-keyprovider
$ sudo zypper install keytrustee-keyprovider
$ sudo apt-get install keytrustee-keyprovider
$ sudo service cloudera-scm-server startIf the Cloudera Manager Server does not start, see Troubleshooting Installation and Upgrade Problems.
$ sudo service cloudera-scm-agent startWhen the Agent starts, it contacts the Cloudera Manager Server. If communication fails 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 which edition of Cloudera Manager you are using and which hosts will run CDH and managed services.
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.
Choose a software installation type (parcels or packages) and install the software if not previously installed.
$ sudo service cloudera-scm-agent restart
Use the Cloudera Manager wizard to configure and start CDH and managed services.
CDH 4 | CDH 5 |
---|---|
|
|
Click a field below a role to display a dialog containing a 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.
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 |
Click the View By Host button for an overview of the role assignment by hostname ranges.
If you added an Oozie service, you can change your Oozie configuration to control when data is purged in order to improve performance, cut down on database disk usage, or to keep the history for a longer period of time. Limiting the size of the Oozie database can also improve performance during upgrades. See Configuring Oozie Data Purge Settings Using Cloudera Manager.
You can test the installation following the instructions in Testing the Installation.