Installing Cloudera Search without Cloudera Manager
Cloudera Search for CDH 5 is included with CDH 5.
You can also install Cloudera Search manually in some situations; for example, if you have an existing installation to which you want to add Search.
- For general information about using repositories to install or upgrade Cloudera software, see Understanding Custom Installation Solutions.
- For instructions on installing or upgrading CDH, see Installing the Latest CDH 5 Release and Upgrading from CDH 4 to CDH 5.
- For CDH 5 repository locations and client .repo files, which include Cloudera Search, see Version and Download Information.
Cloudera Search includes the following packages:
Package Name | Description |
---|---|
solr | Solr |
solr-server | Platform specific service script for starting, stopping, or restart Solr. |
solr-doc | Cloudera Search documentation. |
solr-mapreduce | Tools to index documents using MapReduce. |
solr-crunch | Tools to index documents using Crunch. |
search | Examples, Contrib, and Utility code and data. |
Before You Begin
The installation instructions assume that the sudo command is configured on the hosts where you are installing Cloudera Search. If sudo is not configured, use the root user (superuser) to configure Cloudera Search.
- Running services: When starting, stopping, and restarting CDH components, always use the service (8) command instead of running /etc/init.d scripts directly. This is important because service sets the current working directory to the root directory (/) and removes environment variables except LANG and TERM. This creates a predictable environment in which to administer the service. If you use /etc/init.d scripts directly, any environment variables continue to be applied, potentially causing unexpected results. If you install CDH from packages, service is installed as part of the Linux Standard Base (LSB).
- Install the Cloudera repository: Before using the instructions in this guide to install or upgrade Cloudera Search from packages, install the Cloudera yum, zypper/YaST or apt repository, and install or upgrade CDH and make sure it is functioning correctly.
Installing Solr Packages
This topic describes how to complete a new installation of Solr packages. To upgrade an existing installation, see Upgrading Cloudera Search.
$ sudo yum install solr-server
$ sudo apt-get install solr-server
$ sudo zypper install solr-server
$ rpm -ql solr-server solr
$ dpkg -L solr-server solr
Cloudera Search packages are configured according to the Linux Filesystem Hierarchy Standard.
Next, enable the server daemons you want to use with Hadoop. You can also enable Java-based client access by adding the JAR files in /usr/lib/solr/ and /usr/lib/solr/lib/ to your Java class path.
<< Installing Cloudera Search | ©2016 Cloudera, Inc. All rights reserved | Deploying Cloudera Search >> |
Terms and Conditions Privacy Policy |