Configure the OJAI Distributed Query Service

Use these steps to install and configure the OJAI Distributed Query Service:

  1. Using the MEP 4.0 or later repository, install Drill to run under Warden on all data nodes. See Install Drill to Run Under Warden.
  2. Configure the query service by running the following script command on the Drill nodes:
    /opt/mapr/server/ -R -QS
  3. Register the query service:
    Note: In the following command <clustername> is the name of the cluster as specified in /opt/mapr/conf/mapr-clusters.conf.
    maprcli cluster queryservice setconfig -enabled true -clusterid <clustername>-drillbits -storageplugin dfs -znode /drill