Chapter 6. Applying Minor Upgrades to HDP Search
This chapter describes the procedure of applying update patches to HDP Search 5.0.
Prerequisites
Before updating HDP Search, you should ensure that all indexing has stopped for Solr and all connectors, including Hadoop, Hive, and via Pig.
Download the latest HDP Search Package:
cd /tmp wget https://archive.cloudera.com/p/HDP-SOLR/5.0.0.7-401/repos/centos7/mpack/cloudera-hdp-solr-mpack-5.0.0.7.tar.gz
Upgrade the Management Pack with the following command in Ambari:
ambari-server upgrade-mpack --mpack=cloudera-hdp-solr-mpack-mpack-5.0.0.7.tar.gz --verbose
Restart Ambari to make the changes effective:
ambari-server restart
Log in to Ambari Web UI.
Go to Stack and Versions > Versions > Manage Versions and click on the actual stack version link.
Update the
CLOUDERAHDPSOLR
base URL.Set it to
https://archive.cloudera.com/p/HDP-SOLR/5.0.0.7-401/repos/centos7
Click
and confirm changes.Return to Ambari Web UI and stop the Solr service.
Remove Solr service from Ambari.
Log in to the hosts that were running the Solr service and remove the Solr packages.
yum remove cloudera-hdp-solr
Add the Solr service to your cluster, using the Ambari Web UI.