Installing HDP Search 3.0 Management Pack
Prerequisites
Before installing HDP Search 3.0, you must disable the yum repo priorities plug-in on all hosts that will have the HDP Search Solr component installed, as follows:
# vi /etc/yum/pluginconf.d/priorities.conf [main] enabled = 0
Complete the following steps to download and install the HDP Search 3.0 Management Pack.
Download the Ambari management pack to the Ambari Server host.
In this example,
/tmp
is a temporary directory that stores the management pack before it is installed.cd /tmp wget http://public-repo-1.hortonworks.com/HDP-SOLR/hdp-solr-ambari-mp/solr-service-mpack-3.0.0.tar.gz
Install the management pack on the Ambari Server host, using the following command:
# ambari-server install-mpack --mpack=/tmp/solr-service-mpack-3.0.0.tar.gz
You should see the following output:
Using python /usr/bin/python Installing management pack Ambari Server 'install-mpack' completed successfully.
The management pack has now been added to Ambari.
Restart Ambari server.
# ambari-server restart
Add the Solr service, either during initial cluster installation using the Ambari installation wizard or after cluster deployment.
For information about Solr configuration options, refer to the Startup Option Reference section of the Lucidworks Ambari Installation Guide.