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 http://public-repo-1.hortonworks.com/CLOUDERA-HDP-SOLR/repos/centos7/5.0.0-102/mpack/cloudera-hdp-solr-mpack-5.0.0.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.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.