SECTION 1: INTRODUCTION TO SCALA FOR APACHE SPARK
Learning Objectives – In this module, you will understand the basics of Scala that are required for programming Spark applications. You can learn about the basic constructs of Scala such as variable types, control structures, collections, and more.
- What is Scala?
- Why Scala for Spark?
- Scala in other frameworks
- Introduction to Scala REPL
- Basic Scala operations
- Variable types in Scala
- Control Structures in Scala
- Foreach loop
- Functions, Procedures, Collections in Scala-Array
- Map, Tuples, Lists, and more.
SECTION 2: OOPS AND FUNCTIONAL PROGRAMMING IN SCALA
Learning Objectives – In this module, you will learn about object oriented programming and functional programming techniques in Scala.
- Class in Scala
- Getters and Setters
- Custom Getters and Setters
- Properties with only Getters
- Auxiliary Constructor
- Primary Constructor
- Companion Objects
- Extending a Class
- Overriding Methods
- Traits as Interfaces
- Layered Traits
- Functional Programming
- Higher Order Functions
- Anonymous Functions and more.
SECTION3: INTRODUCTION TO BIG DATA AND APACHE SPARK
Learning Objectives – In this module, you will understand what is big data, challenges associated with it and the different frameworks available. The module also includes a first-hand introduction to Spark.
- Introduction to big data
- Challenges with big data
- Batch Vs. Real Time big data analytics
- Batch Analytics – Hadoop Ecosystem Overview
- Real-time Analytics Options
- Streaming Data- Spark
- In-memory data- Spark
- What is Spark?
- Spark Ecosystem
- Modes of Spark
- Spark installation demo
- Overview of Spark on a cluster Spark Standalone cluster Spark Web UI.
SECTION 4: SPARK COMMON OPERATIONS
Learning Objectives – In this module, you will learn how to invoke Spark Shell and use it for various common operations.
- Invoking Spark Shell
- Creating the Spark Context
- Loading a file in Shell
- Performing basic Operations on files in Spark Shell
- Overview of SBT
- Building a Spark project with SBT
- Running Spark project with SBT
- Local mode
- Spark mode
- Caching overview
- Distributed Persistence
SECTION 5: PLAYING WITH RDDS
Learning Objectives – In this module, you will learn one of the fundamental building blocks of Spark – RDDs and related manipulations for implementing business logics.
- Transformations in RDD
- Actions in RDD
- Loading data in RDD
- Saving data through RDD
- Key-Value Pair RDD
- MapReduce and Pair RDD Operations
- Spark and Hadoop Integration-HDFS
- Spark and Hadoop Integration-Yarn Handling Sequence Files and Partitioner.
SECTION 6: SPARK STREAMING AND MLLIB
Learning Objectives – In this module, you will learn about the major APIs that Spark offers. You will get an opportunity to work on Spark streaming which makes it easy to build scalable fault-tolerant streaming applications, MLlib which is Spark’s machine learning library.
- Spark Streaming Architecture
- First Spark Streaming Program
- Transformations in Spark Streaming
- Fault tolerance in Spark Streaming
- Parallelism level
- Machine learning with Spark
- Data types
- Algorithms– statistics
- Classification and regression
- Collaborative filtering
SECTION 7: GRAPHX, SPARKSQL AND PERFORMANCE TUNING IN SPARK
Learning Objectives – In this module, you will learn about Spark SQL that is used to process structured data with SQL queries, graph analysis with Spark, GraphX for graphs and graph-parallel computation. You will also0 get a chance to learn the various ways to optimize performance in Spark.
- Analyze Hive and Spark SQL architecture
- SQLContext in Spark SQL
- Working with DataFrames
- Implementing an example for Spark SQL
- Integrating hive and Spark SQL
- Support for JSON and Parquet File Formats
- Implement data visualization in Spark
- Loading of data
- Hive queries through Spark
- Testing tips in Scala
- Performance tuning tips in Spark
- Shared variables: Broadcast Variables
- Shared Variables: Accumulators.
SECTION 8: A COMPLETE PROJECT ON APACHE SPARK
- Spark Streaming
- Kafka (for messaging)
- HDFS (for storage)
- Core Spark API (for aggregation)