
Explore how Apache Kylin provides a single unified layer on Hadoop to run low-latency OLAP queries, enabling conceptual data modeling and fast analytics across data lake style environments.
Kylin is an open source distributed analytics engine for Hadoop that enables fast olap on huge datasets by using pre-aggregated cubes, star schema modeling, and flexible routing to sources.
Explain Kailin's end-to-end workflow and its reliance on HDFS, YARN, MapReduce, Hive, Kafka, Calcite, Spock, and Zookeeper for storage, processing, ingestion, and coordination.
Discover how Kaylin builds olap cubes from star or snowflake models by identifying dimensions and measures to enable subsecond queries via JDBC or REST APIs.
Explore how Kaidan builds OLAP cubes from dimension and fact tables, creating cuboids at every level and generating cube segments stored in Hagemann.
Install Apache Kylin in a Hortonworks HDP sandbox single-node VM using Docker or VM, configure port forwarding, start services, verify via web UI, and prepare admin and dev accounts.
Install Apache Kylin on a Cloudera QuickStart PVM (CDH sandbox) by starting Cloudera Manager, downloading Kylin 2.3.1, configuring environment variables and permissions, and launching Kylin to access at http://localhost:7070/kylin.
Install and configure Apache Kylin in a custom Hadoop environment. Set Kylin properties and job config, validate dependencies, and start Hadoop, ZooKeeper, Hive, and Kylin.
Learn how to deploy the sample cube in Apache Kylin, build the cube, monitor progress through stages and logs, and compare fast query performance against Hive on Hadoop.
Explore the Apache Kylin web console to configure data sources, build models and cubes, monitor jobs, and review server settings in a sandboxed Hadoop environment.
Explore the Adventure Works data set by building and analyzing an Apache Kylin cube from a Hive data warehouse; load data, create and troubleshoot cubes, and run analytical queries.
Prepare Adventure Works data for OLAP on Hadoop by importing into MySQL, transferring to HDFS with Sqoop, loading into Hive, and testing sample queries to guide design for Apache Kylin.
Master Apache Kylin for OLAP on the Hadoop platform by syncing Hive tables, creating a project, and loading data sources from Adventure Works while exploring cardinality in the model.
Build a fact table for internet sales and link customer and product dimensions. Use a star or snowflake schema with calendar year, product names, quantity, and sales amount.
Create the internet sales cube from the internet sales model in Apache Kylin, configure dimensions and measures, set derived versus normal dimensions, optimize aggregations, and prepare to build.
Submit a build request to create the cube and its segments, then monitor the job stages and logs as the cube constructs its cuboids.
the cube is ready to serve queries defined by the cube model, with queries run against the inside page's fact and dimension tables and grouped by year, month, and territory.
Identify common error types in Apache Kylin and fix hive query, mapreduce, and hive table errors using cailean hive config, job logs, and resume or discard options.
Analyze airline on-time performance with olap by building a cube from a year of flight delay data, using incremental refresh and a flat fact-dimension model for low-latency queries.
Prepare the flight delay dataset by downloading and extracting files, organizing into five Hive tables, then run Hive and Beeline scripts to create the database and transform data for analysis.
Load data sources with Hive, create a flight delay model, and build the cube. Incrementally refresh the cube using partitioned segments, merging weekly slices for performance.
Learn to perform incremental cube building with Apache Kylin on the Hadoop platform, set weekly date boundaries with inclusive first date and exclusive end date, and monitor submitted jobs.
Learn the single fact/dimension table model, where facts and dimensions reside in one flat table with no lookups, using the flat flight data example to build a cube.
Explore cube optimization and tuning in Apache Kylin, using aggregation groups, derived and joint dimensions, and hierarchical and mandatory dimensions to prune cuboid combinations and boost performance.
Advance cube optimization and tuning by configuring the broader system infrastructure, including dfs, the kubin engine, haji baz as the olap datastore, and hive as datastore and intermediate steering area.
Explore incremental refresh for cubes on star, snowflake, or single-table schemas, with segment refresh, purge actions, and practical cube optimization guided by use case.
Explore how Apache Kylin enables OLAP on streaming data by building cube segments for each time slot from a Kafka stream, answering questions about peak hits and hourly patterns.
Set up Kafka brokers, confirm they are running, and create a test topic. Run the log file reader simulation to transform lines into JSON and publish to the topic.
Learn to implement an olap cube over streaming data in kafka with Kylin by creating a streaming table from a topic, defining dimensions and partitions, and building a clickstream cube.
Build the clickstream OLAP cube from streaming data using micro batches and segments, with concurrent jobs and REST API automation. Compare layer vs in-memory cube algorithms and manage partitions.
Query the built cube in the Apache Kylin OLAP setup to count hits, measure size, and drill by month, day, hour, and status codes.
Troubleshoot common Apache Kylin streaming issues by fixing coffee dependency and configuring Kafka home, verifying correct topic and offsets, and using the Kafka console consumer to confirm data.
Explore Apache Kylin client integration for querying Hadoop-based OLAP data, covering human and system clients, RESTful web services, drivers, and notebook tools to share results.
Learn to connect with Apache Kylin via RESTful APIs to manage models and cubes, perform analytical sql queries, monitor jobs, and integrate with external schedulers and web apps.
Explore configuring the ODBC driver to connect Apache Kylin OLAP cubes with MS Excel, including DSN setup in Windows control panel and first queries with charts and pivot tables.
Connect to the Kailin JDBC driver from a simple Java application, add the driver to the class path with Maven, and execute a query.
Learn to integrate Apache Kylin with Apache Zeppelin by installing and configuring the Kailin interpreter, creating notebooks, and building interactive SQL visualizations for customer and sales analysis.
Examine query routing in Apache Kylin, ensuring queries match the cube model, and use JDBC pushdown to route non-matching queries to Hive or other engines, reducing latency.
Explore offline storage cleanup in Apache Kylin: identify and drop intermediate hive tables, hash tables, and dfs parts with the storage cleanup tool to tidy the environment.
Apply Apache Kylin to a production OLAP use case in your Hadoop cluster, using it as an end-to-end query service to keep data in place and improve user experience.
A Comprehensive Course for Learning How to Build and Query Big Data OLAP Cubes Using Apache Kylin.
Apache Kylin is an Apache top-level project that bring OLAP to Big data. This simply means that we can now write complex aggregation queries with different levels of aggregation and expect to get a second or micro-seconds response to our query.
Online analytical processing (OLAP) has been a common word in traditional business intelligence for years but has not been easy with hadoop platform that has become a data lake solution for many. These data lake often have hundreds of millions and even billions of records that organizations want to slice and dice for insights. However, the high latency of query execution in SQL on Hadoop technologies like Apache Hive or Apache Drill often meant that data architect opted to transfer their data back to traditional systems that allow for real time response to query.
Kylin solves all of this.
With Apache Kylin, anyone with the skills can now build OLAP, ROLAP or MOLAP structures using a web UI, deploy it and expect to query these structure with second of response time in mind. Also, one can connect their applications or favorite visualization tools to Kylin to integrate data either for system processing or for visualization.
In this course, we are going to review
What is the target audience?
Big Data Engineers/Developers
Data Architects
Data Analysts.
Anyone who wishes to be able to write simple to complex aggregation queries of large dataset and wants a low latency response time.
What are the requirements?
You need access to a Big Data Sandbox like Cloudera quickstart VM, Hortonworks HDP sandbox or a cloud-based Hadoop environment with a least 10GB of Ram.
You should have some familiarity SQL and be able to use ODBC or JDBC based tools.
Some familiarity with Linux will be helpful
What do I need to know to get the best out of this course?
Because Kylin uses other hadoop projects to achieve its design a fair understanding of projects like Apache Hive, Apache Kafka, Apache HBase, MapReduce is great for this course. However, one can still use Kylin without any knowledge of these technologies.
It is also worth knowing that no prior knowledge of any big data technology is required to query Kylin or use data integration in running report or data visualizations.