CSC's trainings and events have moved

Find our upcoming trainings and events at

This site is an archive version and is no longer updated.

Go to CSC Customer trainings and Events


Analysing large datasets with Apache Spark
Date: 19.11.2018 9:00 - 20.11.2018 16:00
Location details: The event is organised at the CSC Training Facilities located in the premises of CSC at Keilaranta 14, Espoo, Finland. The best way to reach us is by public transportation; more detailed travel tips are available.
Language: english-language
lecturers: Apurva Nandan (CSC)
Juha Hulkkonen (CSC)
  • free-price-finnish-academics.
  • free-price-others.
The course materials, lunches as well as morning and afternoon coffees are free of charge.
The seats are filled in the registration order. Please inform us of any cancellations in five (5) business days prior to the course.
Additional Information
This course is part of the PRACE Training Centre activity, please visit the PRACE Training portal for further information about the course.
For content please contact:
Practicalities and wait list:


With the rapid growth in data volume that is being used in data analysis tasks, it gets more and more challenging for the user to process it using standard methods. One typically runs into into several problems - low memory/cpu, waiting forever for a job to complete or starting all over again if a job fails. Enter Spark, a high-performance distributed computing framework, which allows us to tackle big-data problems by distributing the workload across a cluster of machines. The two day course addresses the technical architecture and use cases of Spark, writing Spark code using Python, and using Spark's machine learning library to perform ML based tasks. Then, we would be looking at the methods for running a spark cluster on a cloud based infrastructure, along with ways to manage and fine tune your cluster. The course will also demonstrate how to work with real-time data streams.

The first day includes the overview, architectural concepts, programming with Spark's fundamental data structure (RDD) and Spark's Machine Learning library. The second day focuses on the analysis of data by running SQL queries in Spark, working with real-time data streams and how to setup and manage a spark cluster.

Learning outcome

After the course the participants should be able to write simple to intermediate programmes in Spark using RDD and dataframes.

Intended Audience and Prerequisites

The course is intended for researchers, students, and professionals with programming skills, preferably in Python, as the exercises are in Python. Some knowledge of SQL is also recommended.

Please NOTE: This is not a regular programming course, participants would be expected to learn emerging concepts in the field of big data / distributed processing, which might be completely different from the concepts of a general programming language.


Day 1, Monday 19.11

  •    09.00 – 09.45    Overview and architechture of Spark
  •    09:45 – 10.30    Basics of RDDs and Demo
  •    10.30 – 10.45    Coffee break
  •    10.45 – 11.30    RDD: Transformations and Actions
  •    11.30 – 12.00    Exercises
  •    12.00 – 13.00    Lunch
  •    13.00 – 13.30    Word Count Example
  •    13.30 – 14.00    Exercises
  •    14.00 – 14.30    Short overviewof Machine learning library of Spark
  •    14.30 – 14.45    Coffee break
  •    14.45 – 15.30    Exercises
  •    15.30 – 15.45    Wrap-up and further topics
  •    15.45 – 16.00    Summary of the first day & exercises walk-through

Day 2, Tuesday, 20.11

  •    09.00 – 09.30    Spark Dataframes and SQL Overview
  •    09:30 – 10.15    Exercises
  •    10.15 – 10.30    Coffee break
  •    10.30 – 10.45    Dataframes and SQL (contd.)
  •    10.45 – 12.00    Exercises
  •    12.00 – 13.00    Lunch
  •    13.00 – 14.00    Setting up a Spark cluster
  •    14.00 – 14.30    Exercises
  •    14.00 – 14.30    Best practices and other useful stuff
  •    14.30 – 14.45    Coffee break
  •    14.45 – 15.00    Brief overview of Spark Streaming
  •    15.00 – 15.15    Demo: Processing live twitter stream data
  •    15.15 – 16.00    Summary of the course & exercises walk-through