Big Data Lab
Hands-on distributed engineering covering Dockerized Spark, Delta Lake, Apache Iceberg, Airflow, Kafka streaming, Structured Streaming, MLlib, MLflow, BentoML, Prometheus, and Grafana.
Open slide PDFs directly in your browser, read LaTeX lecture notes and worksheets (PDF), preview PowerPoint decks online, or download laboratory notebooks without login walls.
- Lab 01 Week 1
Course Overview & Containerized PySpark Environment
Docker Compose cluster setup, first PySpark job, Delta Lake write, and Spark UI inspection.
- Lab 02 Week 2
Lakehouse Architecture & Delta Lake
ACID transaction logs, time travel queries, schema enforcement, and MERGE/UPSERT operations.
- Lab 03 Week 3
Delta Lake & Apache Iceberg Governance
Iceberg hidden partitioning, snapshot isolation, schema evolution, and catalog patterns.
- Lab 04 Week 4
Apache Spark Foundations & DataFrame API
Parquet/CSV/JSON ingestion, narrow vs. wide transformations, and catalyst execution.
- Lab 05 Week 5
Spark SQL & Query Performance Tuning
Window queries, broadcast joins, salting skewed keys, and Adaptive Query Execution.
- Lab 06 Week 6
Workflow Orchestration with Apache Airflow
Authoring scheduled DAGs, task retries, XComs, and triggering batch Spark pipelines.
- Lab 07 Week 7
Real-Time Event Streaming with Apache Kafka
Topics, partitions, consumer groups, and streaming event ingestion into lakehouse sinks.
- Lab 08 Week 8
Spark Structured Streaming
Event-time watermarks, sliding window aggregations, and checkpointing.
- Lab 09 Week 9
Big Data Visualization & Analytics Interfaces
Interactive dashboards and analytical reporting over lakehouse tables.
- Lab 10 Week 10
Distributed Machine Learning
Spark MLlib pipelines and distributed model training across partitioned datasets.
- Lab 11 Week 11
MLOps & Experiment Tracking with MLflow
Logging parameters, metrics, artifacts, and model registry stage promotions.
- Lab 12 Week 12
DevOps, Docker, Kubernetes & CI/CD
Containerizing data and ML pipelines with Docker, Kubernetes orchestration basics, and automated CI/CD workflows.
- Lab 13 Week 13
Observability: Prometheus vs. Grafana
Metrics scraping, latency/throughput telemetry, and operational alerting dashboards.
- Lab 14 Week 14
End-to-End Pipeline Integration
Integrating ingestion, orchestration, streaming, MLflow tracking, and monitoring.
- Lab 15 Week 15
Course Review, Emerging Technologies & Career Paths
Comprehensive capstone review, emerging big-data tooling, final presentations, and industry career paths.
Weekly Schedule
| Session | Frequency | Notes |
|---|---|---|
| Laboratory | Monday, 2:00 PM - 4:40 PM EAT | 2 hr 40 min weekly build session (15 sessions) |
Prerequisites & Stack
Python programming, SQL fundamentals, and Linux command-line basics.
Environment: Docker Compose · Apache Spark 3.5 · Delta Lake · Apache Iceberg · Airflow · Kafka · MLflow · Prometheus · Grafana
Learning Outcomes
- 01 Run containerized PySpark jobs and diagnose DAG stages in the Spark UI.
- 02 Manage ACID tables, time travel, and schema evolution in Delta Lake and Apache Iceberg.
- 03 Tune PySpark SQL joins and adaptive query execution (AQE) against data skew.
- 04 Orchestrate batch pipelines using Apache Airflow DAGs.
- 05 Build stateful real-time streaming pipelines with Apache Kafka and Spark Structured Streaming.
- 06 Track distributed ML experiments in MLflow and serve models behind BentoML/Docker APIs with Prometheus and Grafana monitoring.
Assessment & Grading
Submitted at the conclusion of each weekly lab session.
Written theory quiz (90 min) covering Labs 1-6 lakehouse & Spark foundations.
Integrated batch, streaming, MLOps, and monitoring pipeline.
Theory and practical laboratory evaluation.
Textbooks & Study Tools
- Learning Spark (2nd ed.)Required
Jules Damji, Brooke Wenig, Tathagata Das, and Denny Lee (O'Reilly, 2020)
- Delta Lake: The Definitive GuideReference
Denny Lee, Tristen Wentling, Scott Haines, and Prashanth Babu (O'Reilly, 2024)
- Machine Learning Engineering with MLflowReference
Natu Lauchande (Packt, 2021)
Official DataFrame, Spark SQL, and Structured Streaming reference.
ACID transaction logs, time travel, and open table formats.
Course Policies & Reuse
Attendance
Attendance is expected at all lectures and labs. Lab exercises are completed and submitted before each session ends.
Late Work
Deadlines are fixed in advance. Late submissions are not accepted unless pre-approved under official institute procedures.
Academic Integrity
Discussing concepts with peers is encouraged; copying or sharing code is prohibited. Every submitted line must be your own work that you can explain.
All lecture notes, slides, and laboratory materials for Z5008 are licensed under CC BY-NC-SA 4.0 . ShareAlike required; commercial use prohibited without permission.