Apache Solr Search Installation
Also available as:
PDF
loading table of contents...

Installing HDP Search 5.0 Management Pack

Prerequisites

Before installing HDP Search 5.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 5.0 Management Pack.

  1. 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 https://<username>:<password>@archive.cloudera.com/p/HDP-SOLR/5.0.0.7-401/repos/centos7/mpack/cloudera-hdp-solr-mpack-5.0.0.7.tar.gz
  2. Install the management pack on the Ambari Server host, using the following command:

    # ambari-server install-mpack --mpack=/tmp/cloudera-hdp-solr-mpack-5.0.0.7.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.

  3. Restart Ambari server.

    # ambari-server restart
  4. Add the Solr service, either during initial cluster installation using the Ambari installation wizard or after cluster deployment.