Instructor-led training
Introduction to Spark 3 with Scala Training in West Memphis, Arkansas
Private Java Programming training for organizations from Hartmann Software Group, delivered onsite in West Memphis, Arkansas or live online.
What you'll learn
This course introduces the Apache Spark distributed computing engine, and is suitable for developers, data analysts, architects, technical managers, and anyone who needs to use Spark in a hands-on manner. It is based on the Spark 3.x release.
The course provides a solid technical introduction to the Spark architecture and how Spark works. It covers the basic building blocks of Spark (e.g. RDDs and the distributed compute engine), as well as higher-level constructs that provide a simpler and more capable interface (e.g. DataSets/DataFrames and Spark SQL). It includes in-depth coverage of Spark SQL, DataFrames, and DataSets, which are now the preferred programming API. This includes exploring possible performance issues and strategies for optimization.
The course also covers more advanced capabilities such as the use of Spark Streaming to process streaming data, and integrating with the Kafka server.
The course is very hands-on, with many labs. Participants will interact with Spark through the Spark shell (for interactive, ad-hoc processing) as well as through programs using the Spark API. After taking this course, you will be ready to work with Spark in an informed and productive manner.
Labs are supported in Scala. There is a separate course for Python users.
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in West Memphis, Arkansas or live online. Dates, delivery format, and course content are arranged around your team's requirements.
This course is not currently scheduled as a public class for individual enrollment.
Request Group TrainingPrerequisites
Course Outline
What makes Spark hard to master
The API looks like ordinary collection code (map, filter, groupBy), but the execution model is different. The syllabus builds that model in layers.
- Lazy evaluation and partitioning. Session 3 covers RDD lifecycle, lazy evaluation, partitioning and transformations. Most early surprises come from expecting a transformation to run when it is written, rather than when an action triggers it.
- Typed versus untyped APIs. Session 4 compares the untyped DataFrame query DSL, SQL queries and the typed Dataset API, then sets DataSets against DataFrames and RDDs. Choosing among them has consequences for both readability and speed.
- Shuffles. Session 5 separates narrow from wide dependencies and ties grouping, reducing and joining to shuffle cost. A job that is correct on a small sample can be very slow once data is spread across executors.
- The optimizers. The course uses
explain()and query plans to look at Catalyst, and it names a specific trap: lambdas, which Catalyst cannot see into. It then covers Tungsten (binary format, cache awareness, whole-stage code generation). - Tuning myths. Session 6 treats caching (storage type, guidelines), shuffle minimization, broadcast variables and accumulators. A common misconception is that caching or more memory always helps. Applying it indiscriminately can cost more than it saves.
- Streaming. Session 8 introduces the table paradigm and result table for Structured Streaming. Many developers find it unintuitive that a stream is queried like an ever-growing table.
Session 7 (driver, executors, tasks, spark-submit, cluster managers) ties these ideas to what actually runs where.
Who it suits and what to take around it
The course is introductory. It requires working knowledge of some programming language and no Java experience. It suits developers, data analysts, architects and technical managers who need hands-on Spark. Labs use Scala, and an optional first session covers Scala basics: variables, collections, function literals, classes, traits and case classes. Developers new to Scala can include it. Those already comfortable with Scala can focus on the Spark sessions.
Spark runs on the JVM, so a developer who wants a broader foundation in the platform can browse the Java Programming courses and learning guide. It is not required for this course.
Organizations with specific Spark or Scala versions in use, or with a particular mix of roles, can ask about customized private training through a training proposal request.
Illustrative scenarios
The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.
- Consolidating raw files. A team might receive JSON and CSV extracts and want them in a queryable, columnar form. That work draws on loading and saving data, schema inference, Parquet, and DataFrame filtering, grouping and aggregation. The same team could expose the results to analysts through SQL queries.
- Fixing a slow join. A nightly job might slow down after one input grows. A developer would read
explain()output, look for wide dependencies and shuffles, and consider caching or a broadcast variable. The Session 5 and 6 topics apply directly. - Processing a Kafka feed. A group might want to consume events from Kafka, process them as a stream and write results to a sink. This maps to Structured Streaming sources and sinks, the "kafka" format and processing the stream. Packaging with sbt and running with
spark-submitwould turn the prototype into a standalone application.
Using AI coding assistants with Spark
Where they help. AI coding assistants can draft boilerplate such as a SparkSession builder, a build.sbt file, schema definitions and readers for JSON, CSV or Parquet. They can also sketch DataFrame aggregations and explain unfamiliar Scala syntax, which is useful for newcomers to the language.
Where they fail.
- They often mix RDD, DataFrame and Dataset styles, or suggest older API patterns, so the code may not match what the course teaches.
- They may use lambdas where column expressions are better, which hides logic from Catalyst.
- They tend to add
cache()or broadcast hints without knowing the data size or access pattern. - They can produce joins and groupings that look correct but trigger heavy shuffles.
- Streaming code is easy to get subtly wrong, including source options, the sink and how results update.
How to verify. Run generated code on a small sample and compare its output with a known-good result. Read explain() plans to confirm that the expected operations and shuffles appear. Check each cache or broadcast suggestion against the data it applies to. Run the packaged application through spark-submit, not only in the shell, and check the logs. The course teaches these habits, which is what lets you judge generated code.
Frequently asked questions
What level is this course, and what do I need beforehand?
It is introductory. You need working knowledge of some programming language. Java experience is not needed.
Do I need to know Scala?
No. The syllabus starts with an optional Scala ramp-up session covering variables, collections, functions, classes, traits and case classes. Labs are in Scala. The description says a separate course exists for Python users.
What does the course cover?
It covers Spark architecture, RDDs, Spark SQL, DataFrames and Datasets, shuffling and performance, Catalyst and Tungsten, caching, broadcast variables and accumulators, standalone applications with sbt and spark-submit, and Structured Streaming with Kafka.
Can this be delivered privately for our team, onsite or online?
Yes. HSG delivers private training for organizations, either at your location or live online.
Can the content be customized?
Private courses can be tailored, including to the technology versions your organization uses. You can describe your needs through the training proposal request.
Training locations
Introduction to Spark 3 with Scala training across the U.S. and beyond.
We provide private Introduction to Spark 3 with Scala training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Introduction to Spark 3 with Scala training locations
Train your team with HSG
Private, instructor-led training customized for your organization.
- Onsite or live online delivery
- Customized curriculum
- For a single employee or an entire team
- Flexible scheduling
- Experienced instructors
Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com
Ready to train your team?
Let's customize this training for your organization.
Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.