Migrating from Parcels to Packages
To migrate from a parcel to the same version packages, perform the following steps. To upgrade to a different version, see Upgrading CDH and Managed Services.
Install Packages
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
Deactivate Parcels
- Go to the Parcels page by doing one of the following:
- Clicking the parcel indicator in the Admin Console navigation bar ( )
- Clicking the Hosts in the top navigation bar, then the Parcels tab.
- Click Actions on the activated CDH and managed service parcels and select Deactivate.
Restart the Cluster
- On the Home page, click to the right of the cluster name and select Restart.
- Click Restart that appears in the next
screen to confirm. The Command Details window
shows the progress of stopping services.
When All services successfully started appears, the task is complete and you can close the Command Details window.
Remove and Delete Parcels
Removing a Parcel
To remove a parcel, click the down arrow to the right of an Activate button and select Remove from Hosts.
Deleting a Parcel
To delete a parcel, click the down arrow to the right of a Distribute button and select Delete.
<< Migrating from Packages to Parcels | Understanding Custom Installation Solutions >> | |