Apache Drill (unofficial) - Introduction
Apache Drill is an open source, low-latency query engine for Hadoop that delivers secure, interactive SQL analytics at petabyte scale. With the ability to discover schemas on-the-fly, Drill is a pioneer in delivering self-service data exploration capabilities on data stored in multiple formats in files or NoSQL databases. By adhering to ANSI SQL standards, Drill does not require a learning curve and integrates seamlessly with visualization tools. Source
Tutorial:
Grab latest version of drill
wget http://getdrill.org/drill/download/apache-drill-1.2.0.tar.gz tar xvfz apache-drill-1.2.0.tar.gz /root/drill/apache-drill-1.2.0
[root@node1 apache-drill-1.2.0]# cd bin/
Start Drill in distributed mode ( You can start in embedded mode too)
[root@node1 conf]# ../bin/drillbit.shstart
starting drillbit, logging to /root/drill/apache-drill-1.2.0/log/drillbit.out
Drill Web Console - http://host:8047
Enable storage plugins
Click Storage --> Enable hbase,hive,mongo
Modify storage plugin for Hive and HBase as per your Hadoop cluster setup
for example: click update for hive under storage plugins
modify hive.metastore.uris
Hive Test: launch hive shell
hive> create table drill_hive ( info string);
hive> insert into table drill_hive values ('This is Hive and you are using Drill');
[root@node1 bin]# ./drill-conf
apache drill 1.2.0
"start your sql engine"
0: jdbc:drill:> use hive;
0: jdbc:drill:> select info from drill_hive;
HBase
Change storegae properties in case HBase zookeeper.znode.parent points to /hbase-unsecure
add "zookeeper.znode.parent": "/hbase-unsecure"
Let's check the query plan and metrics
Click Profile
You will see queries under completed queries.
Click the Query to see the query execution stats.
What is foreman? Link
Happy Hadoooping!!!!

