Upgrading Search 1.x to Search for CDH 5
If you are running Cloudera Manager, you must upgrade to Cloudera Manager 5 to run CDH 5. Because Search 1.x is in a separate repository from CDH 4, you must remove the Search 1.x packages and the Search .repo or .list file before upgrading CDH. This is true whether or not you are upgrading through Cloudera Manager.
- Remove the Search packages.
The list of packages you may need to remove are:
- solr
- solr-doc
- solr-mapreduce
- hbase-solr
- hbase-solr-doc
- search
- Check which packages are installed using one of the following commands, depending on your operating system:
rpm -qa # RHEL, Oracle Linux, CentOS, Debian
dpkg --get-selections # Debian
- Remove the packages using the appropriate remove command for your OS. For example:
sudo yum remove solr solr-doc solr-mapreduce hbase-solr \ hbase-solr-doc search # RHEL, Oracle Linux, CentOS
- Remove the Cloudera Search .repo or .list file:
Operating System File to remove: RHEL
/etc/yum.repos.d/cloudera-search.repo
SLES
/etc/zypp/repos.d/cloudera-search.repo
Ubuntu or Debian
/etc/apt/sources.list.d/cloudera.list
- Upgrade from CDH 4 to CDH 5:
- To upgrade using Cloudera Manager, see Upgrading CDH 4 to CDH 5. This assumes you have upgraded to Cloudera Manager 5.
- To upgrade without using Cloudera Manager, see Upgrading from CDH 4 to CDH 5.
- If you upgraded to CDH 5 without using Cloudera Manager, you need to install the new version of Search:
Operating System Command RHEL
sudo yum install solr-server SLES
sudo zypper install solr-server Ubuntu or Debian
sudo apt-get install solr-server
Page generated July 8, 2016.
<< Upgrading Cloudera Search | ©2016 Cloudera, Inc. All rights reserved | Installing Hue Search >> |
Terms and Conditions Privacy Policy |