Installing Drill on the Cluster
You install Drill on nodes in the cluster, configure a cluster ID, and add Zookeeper information, as described in the following steps:
- Download the latest version of Apache Drill here or from the Apache Drill mirror site with the command appropriate for your system:
wget http://apache.mirrors.hoobly.com/drill/drill-1.18.0/apache-drill-1.18.0.tar.gzcurl -o apache-drill-1.18.0.tar.gz http://apache.mirrors.hoobly.com/drill/drill-1.18.0/apache-drill-1.18.0.tar.gz
- Extract the tarball to the directory of your choice, such as
/opt:
tar -xzvf apache-drill-<version>.tar.gz -
In
drill-override.conf,use the Drillcluster ID, and provide ZooKeeper host names and port numbers to configure a connection to your ZooKeeper quorum.
a. Editdrill-override.conflocated in theconfdirectory.
b. Provide a uniquecluster-idand the ZooKeeper host names and port numbers inzk.connect. If you install Drill on multiple nodes, assign the samecluster IDto each Drill node so that all Drill nodes share the same ID. The default ZooKeeper port on the open source version of Apache Drill is 2181.Example
drill.exec:{ cluster-id: "<mydrillcluster>", zk.connect: "<zkhostname1>:<port>,<zkhostname2>:<port>,<zkhostname3>:<port>" }
