This is the documentation for CDH 5.1.x. Documentation for other versions is available at Cloudera Documentation.

Prerequisites

Before installing Search, install Cloudera Manager and a CDH cluster. The scenario in this guide works with CDH 5.1 and Cloudera Manager 5.1. The quickstart.sh script and supporting files are included with CDH. Install Cloudera Manager, CDH, and Solr using Cloudera Manager Quick Start Guide. By default, the Quick Start script tries default locations used in parcel and package installations. If you installed Search using custom locations, use the SOLR_HOME script parameter to specify the location that matches your installation.

You can also Add Cloudera Search to Your Cluster using Cloudera Manager. You could complete all steps described at that topic, including Step 5: Test the Installation, but at a minimum, you should complete through Step 3: Use Cloudera Manager for Automated CDH Installation and Configuration. After completing this installation, return to complete the next parts of this Quick Start Guide.

For this scenario, use the basic installation offered by Cloudera Manager. That installation will deploy the following services:
  • HDFS: Stores data. Deploy on all nodes.
  • ZooKeeper: Coordinates Solr nodes. Deploy on one node. Use the default port of 2181. The examples refer to a machine named search-zk. You may want to give your zookeeper machine this name to simplify reusing content exactly as it appears in this document. You can choose other names, but if you do, you must adjust some commands accordingly.
  • Solr with SolrCloud: Provides search services such as document indexing and querying. Deploy on two nodes.
  • Hue: Hue includes the Search application, which you can use to complete search queries. Deploy Hue on one node.

After you have installed Cloudera Manager, CDH, and Solr using Parcels, add the Cloudera Search service to your cluster by completing the process described in the procedure Adding a Solr Service to the Cluster in The Solr Service.

Page generated September 3, 2015.