First you need to install Java (in my case it was installed before) and set the JAVA_HOME env variable. I will use the embedded mode, because I don't want to install zookeeper and it's just a single node setup.
cd ~ curl -o apache-drill-1.8.0.tar.gz http://apache.mirrors.hoobly.com/drill/drill-1.8.0/apache-drill-1.8.0.tar.gz tar -xvf apache-drill-1.8.0.tar.gz mv apache-drill-1.8.0 apache_drill
Now put the following line into your
~/.bash_profile file and restart your terminal:
To start the service you have to run the following command:
In embedded mode it will automatically open a drill sql-shell (called sqlline), but you can also run queries by using the online UI (http://localhost:8047).
You can also use a nice GUI called Drill Explorer (You have to install the ODBC driver to get it).