Book Image

Apache Spark: Tips, Tricks, & Techniques [Video]

By : Tomasz Lelek
Book Image

Apache Spark: Tips, Tricks, & Techniques [Video]

By: Tomasz Lelek

Overview of this book

Apache Spark has been around for quite some time, but do you really know how to get the most out of Spark? This course aims at giving you new possibilities; you will explore many aspects of Spark, some you may have never heard of and some you never knew existed. In this course you'll learn to implement some practical and proven techniques to improve particular aspects of programming and administration in Apache Spark. You will explore 7 sections that will address different aspects of Spark via 5 specific techniques with clear instructions on how to carry out different Apache Spark tasks with hands-on experience. The techniques are demonstrated using practical examples and best practices. By the end of this course, you will have learned some exciting tips, best practices, and techniques with Apache Spark. You will be able to perform tasks and get the best data out of your databases much faster and with ease. All the code and supporting files for this course are available on Github at https://github.com/PacktPublishing/Apache-Spark-Tips-Tricks-Techniques
Table of Contents (7 chapters)
Chapter 6
Testing Apache Spark Jobs
Content Locked
Section 1
Separating Logic from Spark Engine – Unit Testing
In this video, we will be creating components with logic. Then we will perform unit testing of the components and lastly we will use case class from model. - Create component with logic - Perform unit testing of the component - Use case class from model