OLAP for Big Data on Hadoop
OLAP for Big Data on Hadoop
There are a number of developing options for running OLAP on Big Data. Check some out here!
Join the DZone community and get the full member experience.Join For Free
The Architect’s Guide to Big Data Application Performance. Get the Guide.
Hadoop is a great platform for storing a lot of data, but running OLAP is usually done on smaller datasets in legacy and traditional proprietary platforms. OLAP workloads are beginning to migrate to the one data lake that is running Hadoop and Spark.
Fortunately, there are a number of Apache projects that are starting to make OLAP possible on Hadoop.
For an introduction to this interesting Hadoop project, check out this article. Apache Kylin originally from eBay, is a Distributed Analytics Engine that provides SQL and OLAP access to Hadoop datasets utilizing Hive and HBase. It can use called through SparkSQL as well making for a very useful project. This project let's you work with PowerBI, Tableau and Excel with more tool support coming soon. You can do MOLAP cubes and support many users with fast queries over billions of rows. Apache Kylin provides JDBC and ODBC drivers.
I would recommend giving this project a try and see if it meets your needs. It is one of the best options out there. It is currently not part of the Big Hadoop Three's supported stacks.
Druid is another very strong offering in fast SQL OLAP solutions on Hadoop with support growing rapidly. The documentation for this project is excellent and makes it easy for OLAP-oriented DBAs, data architects, data engineers and data focused programmers to get started with this interesting Big Data project. Druid provides sub-second OLAP Queries with column orientation and inverted indexes enabling multi-dimensional filtering and scanning to allow for aggregating and filtering data. Again, not officially part of the Big Hadoop Three's supported stacks. I recommend downloading and installing this project and giving it a test run. Airbnb and Alibaba are users of Druid.
And the secret word for Druid; Apache Calcite. This project seems to be everywhere and you will find it here as well.
Apache Lens provides a unified analytics interface to Hadoop. It is pretty quick to install, works with Hive, JDBC and OLAP Cubes. There is an Apache Zeppelin interface for Apache Lens which is good. I don't hear a lot about this one, but again it seems interesting.
Other Options To Investigate:
- SnappyData (Strong SQL, In-Memory Speed, and GemfireXD history)
- Apache HAWQ (Strong SQL support and Greenplum history)
- Splice Machine (Now Open Source)
- Hive LLAP is moving into OLAP, SQL 2011 support is growing and so is performance.
- Apache Phoenix may be able to do basic OLAP with some help from Saiku , see the Saiku OLAP BI Tool. I really like Phoenix and it has the performance and power to back up a lot of data through queries and concurrency. It is lacking a lot of the OLAP specific queries that some tools and users will most likely need. I am thinking that Apache Calcite and Phoenix will eventually make this a great OLAP tools.
Please comment if you have experience with one or more of the tools and have some real world recommendations. Also, let me know if I have missed any open source options. I know there's a ton of great proprietary solutions out there. Right now it seems Apache Kylin and Druid seem like the best options out there. I am working on running some workloads on both Kylin and Druid and seeing how well they work.
Opinions expressed by DZone contributors are their own.