Search Guide
Also available as:
PDF

Chapter 3. Installing HDP Search

HDP Search should be deployed on each node that runs HDFS. The HDP Search package is available as an RPM, located in the HDP-Utils repository.

This chapter summarizes installation commands for installing HDP Search on HDP 2.3 or HDP 2.4. For detailed installation and configuration instructions, see the HDP Search Installation Guide.

To install HDP Search, run the commands for your operating system on all cluster nodes:

[Note]Note

RPM packages for CentOS/RHEL/Oracle Linux are signed, so you will need to add the gpg key to your server. That step is included in the following instructions.

  • CentOS/RHEL/Oracle Linux 6:

    rpm --import http://public-repo-1.hortonworks.com/HDP-SOLR-2.3-100/repos/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
    cd /etc/yum.repos.d/
    wget http://public-repo-1.hortonworks.com/HDP-SOLR-2.3-100/repos/centos6/hdp-solr.repo
    yum install lucidworks-hdpsearch
  • CentOS/RHEL/Oracle Linux 7:

    rpm --import http://public-repo-1.hortonworks.com/HDP-SOLR-2.3-100/repos/centos7/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
    cd /etc/yum.repos.d/
    wget http://public-repo-1.hortonworks.com/HDP-SOLR-2.3-100/repos/centos7/hdp-solr.repo
    yum install lucidworks-hdpsearch
  • SUSE11SP3/SP4:

    cd /etc/zypp/repos.d/
    wget http://public-repo-1.hortonworks.com/HDP-SOLR-2.3-100/repos/suse11sp3/hdp-solr.repo
    zypper install lucidworks-hdpsearch
  • Debian 6:

    cd /etc/apt/sources.list.d
    wget http://public-repo-1.hortonworks.com/HDP-SOLR-2.3-100/repos/debian6/hdp-solr.list
    apt-get update
    apt-get install lucidworks-hdpsearch
  • Debian 7:

    cd /etc/apt/sources.list.d
    wget http://public-repo-1.hortonworks.com/HDP-SOLR-2.3-100/repos/debian7/hdp-solr.list
    apt-get update
    apt-get install lucidworks-hdpsearch
  • Ubuntu 12:

    cd /etc/apt/sources.list.d
    wget http://public-repo-1.hortonworks.com/HDP-SOLR-2.3-100/repos/ubuntu12/hdp-solr.list
    apt-get update
    apt-get install lucidworks-hdpsearch
  • Ubuntu 14:

    cd /etc/apt/sources.list.d
    wget http://public-repo-1.hortonworks.com/HDP-SOLR-2.3-100/repos/ubuntu14/hdp-solr.list
    apt-get update
    apt-get install lucidworks-hdpsearch

[Important]Important

For Debian or Ubuntu, if you see the following error during apt-get update:

W: GPG error: http://public-repo-1.hortonworks.com HDP-SOLR Release: 
The following signatures couldn't be verified because the public key is not available: 
NO_PUBKEY B9733A7A07513CAD

Run the following commands:

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9733A7A07513CAD
apt-get update