Adding the Distributed Search-Related Parameters to the Configuration File
Adding the Distributed Search-Related Parameters to the Configuration File
Before you generate the coprocessor JAR file, you must update the configuration file to include the parameters related to distributed search.
Open the configuration file in a text editor.
Add the following parameters within the
HBASEConfiguration
section:
CoprocessorPath
Absolute path and file name for the coprocessor JAR file that you must generate and deploy in HDFS. The JAR file contains the search logic that the region servers use to perform searches.
For example,
/user/cloudera/db-hbase-coprocessorDeploy.jar
.
Use the following name format for the JAR file name:
db-hbase-coprocessor<id>
The name format uses the
id
parameter that indicates a unique identifier for the JAR file. For example, if
id=Deploy
, the JAR file name must be
db-hbase-coprocessorDeploy.jar
.
CoprocessorClass
Name of the class that the coprocessor uses. Specify