Apache Drill is an open-source software framework that supports data-intensive
distributed applications for interactive analysis of large-scale datasets.
Apache Drill is first schema-free SQL engine. Unlike Hive, it does not use MR
job internally and compared to most distributed query engines, it does not
depend on Hadoop.
Prerequisites
Java 8ZooKeeper quorum
Download and Installing Drill
Download Drill 1.10.0 using below command on /usr/local directory.
$ cd /usr/local
$ sudo wget http://www-eu.apache.org/dist/drill/drill-1.10.0/apache-drill-1.10.0.tar.gz
|
$ sudo tar -xvf
apache-drill-1.10.0.tar.gz
|
$ sudo mv apache-drill-1.10.0
drill
|
Setting up Drill Environment Variables
First we need to set environment variable for Drill. Edit ~/.bashrc file.
$ sudo nano ~/.bashrc
|
export DRILL_HOME=/usr/local/drill
export PATH=$DRILL_HOME/bin:$PATH
|
$ sudo chown -R hdfs:hdfs
/usr/local/drill
$ sudo chmod -R 755
/usr/local/drill
|
$ source ~/.bashrc
|
Start Drill services
To stat Drill service used following command
$ drill-embedded
|
Java HotSpot(TM) 64-Bit Server
VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
Jul 20, 2017 7:19:59 PM
org.glassfish.jersey.server.ApplicationHandler initialize
INFO: Initiating Jersey
application, version Jersey: 2.8 2014-04-29 01:25:26...
apache drill 1.10.0
"say hello to my little
drill"
|