Video description
“Big data” analysis is a hot and highly valuable skill—and this course will teach you the hottest technology in big data: Apache Spark. Employers including Amazon, eBay, NASA JPL, and Yahoo all use Spark to quickly extract meaning from massive datasets across a fault-tolerant Hadoop cluster. You will learn those same techniques using your own Windows system right at home. It is easier than you think, and you will learn from an ex-engineer and senior manager from Amazon and IMDb.
In this course, you will learn the concepts of Spark’s Resilient Distributed Datasets, DataFrames, and datasets. We will also cover a crash course in the Scala programming language that will help you with the course. You will learn how to develop and run Spark jobs quickly using Scala, IntelliJ, and SBT. You will learn how to translate complex analysis problems into iterative or multi-stage Spark scripts. You will learn how to scale up to larger datasets using Amazon’s Elastic MapReduce service and understand how Hadoop YARN distributes Spark across computing clusters. We will also be practicing using other Spark technologies, such as Spark SQL, DataFrames, DataSets, Spark Streaming, Machine Learning, and GraphX.
By the end of this course, you will be running code that analyzes gigabytes worth of information—in the cloud—in a matter of minutes.
what You Will Learn
- Learn the concepts of Spark’s RDD, DataFrames, and Datasets
- Get a crash course in the Scala programming language
- Develop and run Spark jobs quickly using Scala, IntelliJ, and SBT
- Translate complex analysis problems into iterative or multi-stage Spark scripts
- Scale up to larger datasets using Amazon’s Elastic MapReduce service
- Understand how Hadoop YARN distributes Spark across computing clusters
Audience
This course is designed for software engineers who want to expand their skills into the world of big data processing on a cluster. It is necessary to have some prior programming or scripting knowledge.
About The Author
Frank Kane: Frank Kane has spent nine years at Amazon and IMDb, developing and managing the technology that automatically delivers product and movie recommendations to hundreds of millions of customers all the time. He holds 17 issued patents in the fields of distributed computing, data mining, and machine learning. In 2012, Frank left to start his own successful company, Sundog Software, which focuses on virtual reality environment technology and teaches others about big data analysis.
Table of contents
- Chapter 1 : Getting Started
- Chapter 2 : Scala Crash Course (Optional)
-
Chapter 3 : Using Resilient Distributed Datasets (RDDs)
- The Resilient Distributed Dataset
- Ratings Histogram Example
- Spark Internals
- Key / Value RDDs, and the Average Friends by Age Example
- (Activity) Running the Average Friends by Age Example
- Filtering RDDs, and the Minimum Temperature by Location Example
- (Activity) Running the Minimum Temperature Example, and Modifying It for Maximum
- (Activity) Counting Word Occurrences Using Flatmap()
- (Activity) Improving the Word Count Script with Regular Expressions
- (Activity) Sorting the Word Count Results
- (Exercise) Find the Total Amount Spent by Customer
- (Exercise) Check Your Results and Sort Them by Total Amount Spent
- Check Your Results and Implementation Against Mine
-
Chapter 4 : SparkSQL, DataFrames, and DataSets
- Introduction to SparkSQL
- (Activity) Using SparkSQL
- (Activity) Using DataSets
- (Exercise) Implement the Friends by Age Example Using DataSets
- Exercise Solution: Friends by Age, with DataSets
- (Activity) Word Count Example Using DataSets
- (Activity) Revisiting the Minimum Temperature Example, with DataSets
- (Exercise) Implement the Total Spent by Customer Problem with DataSets
- Exercise Solution: Total Spent by Customer with DataSets
-
Chapter 5 : Advanced Examples of Spark Programs
- (Activity) Find the Most Popular Movie
- (Activity) Use Broadcast Variables to Display Movie Names
- (Activity) Find the Most Popular Superhero in a Social Graph
- (Exercise) Find the Most Obscure Superheroes
- Exercise Solution: Find the Most Obscure Superheroes
- Superhero Degrees of Separation: Introducing Breadth-First Search
- Superhero Degrees of Separation: Accumulators, and Implementing BFS in Spark
- (Activity) Superhero Degrees of Separation: Review the Code and Run It!
- Item-Based Collaborative Filtering in Spark, cache(), and persist()
- (Activity) Running the Similar Movies Script Using Spark's Cluster Manager
- (Exercise) Improve the Quality of Similar Movies
-
Chapter 6 : Running Spark on a Cluster
- (Activity) Using spark-submit to Run Spark Driver Scripts
- (Activity) Packaging Driver Scripts with SBT
- (Exercise) Package a Script with SBT and Run It Locally with spark-submit
- Exercise Solution: Using SBT and spark-submit
- Introducing Amazon Elastic MapReduce
- Creating Similar Movies from One Million Ratings on EMR
- Partitioning
- Best Practices for Running on a Cluster
- Troubleshooting and Managing Dependencies
- Chapter 7 : Machine Learning with Spark ML
-
Chapter 8 : Introduction to Spark Streaming
- The DStream API for Spark Streaming
- (Activity) Real-Time Monitoring of the Most Popular Hashtags on Twitter
- Structured Streaming
- (Activity) Using Structured Streaming for Real-Time Log Analysis
- (Exercise) Windowed Operations with Structured Streaming
- Exercise Solution: Top URLs in a 30-Second Window
- Chapter 9 : Introduction to GraphX
- Chapter 10 : You Made It! Where to Go from Here
Product information
- Title: Apache Spark with Scala – Hands-On with Big Data!
- Author(s):
- Release date: October 2022
- Publisher(s): Packt Publishing
- ISBN: 9781787129849
You might also like
video
Apache Spark with Java - Learn Spark from a Big Data Guru
This course covers all the fundamentals of Apache Spark with Java and teaches you everything you …
video
Apache Spark with Scala - Learn Spark from a Big Data Guru
This course covers all the fundamentals of Apache Spark with Scala and teaches you everything you …
video
Scala & Spark-Master Big Data with Scala and Spark
The course Scala from Beginner to Pro is refreshingly different. The well-thought-out quizzes and mini projects …
book
Practical Apache Spark: Using the Scala API
Work with Apache Spark using Scala to deploy and set up single-node, multi-node, and high-availability clusters. …