Use these steps to install and configure the OJAI Distributed Query Service:
-
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.
-
Configure the query service by running the following configure.sh script
command on the Drill nodes:
/opt/mapr/server/configure.sh -R -QS
-
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