Skip to Main Content

About The Book


Spark in Action teaches you the theory and skills you need to effectively handle batch and streaming data using Spark. Fully updated for Spark 2.0.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Big data systems distribute datasets across clusters of machines, making it a challenge to efficiently query, stream, and interpret them. Spark can help. It is a processing system designed specifically for distributed data. It provides easy-to-use interfaces, along with the performance you need for production-quality analytics and machine learning. Spark 2 also adds improved programming APIs, better performance, and countless other upgrades.

About the Book

Spark in Action teaches you the theory and skills you need to effectively handle batch and streaming data using Spark. You'll get comfortable with the Spark CLI as you work through a few introductory examples. Then, you'll start programming Spark using its core APIs. Along the way, you'll work with structured data using Spark SQL, process near-real-time streaming data, apply machine learning algorithms, and munge graph data using Spark GraphX. For a zero-effort startup, you can download the preconfigured virtual machine ready for you to try the book's code.

What's Inside

  • Updated for Spark 2.0
  • Real-life case studies
  • Spark DevOps with Docker
  • Examples in Scala, and online in Java and Python

About the Reader

Written for experienced programmers with some background in big data or machine learning.

About the Authors

Petar Zečević and Marko Bonaći are seasoned developers heavily involved in the Spark community.

Table of Contents


  1. Introduction to Apache Spark
  2. Spark fundamentals
  3. Writing Spark applications
  4. The Spark API in depth

  6. Sparkling queries with Spark SQL
  7. Ingesting data with Spark Streaming
  8. Getting smart with MLlib
  9. ML: classification and clustering
  10. Connecting the dots with GraphX
  11. PART 3 - SPARK OPS

  12. Running Spark
  13. Running on a Spark standalone cluster
  14. Running on YARN and Mesos

  16. Case study: real-time dashboard
  17. Deep learning on Spark with H2O

About The Authors

Marko Bonaci has worked with Java for 13 years. He works Sematext as a Spark developer and consultant. Before that, he was team lead for SV Group's IBM Enterprise Content Management team.

Petar Zecevic is a CTO at SV Group. During the last 14 years he has worked on various projects as a Java developer, team leader, consultant and software specialist. He is the founder and, with Marko, organizer of popular Spark@Zg meetup group.

Product Details

  • Publisher: Manning (November 3, 2016)
  • Length: 472 pages
  • ISBN13: 9781638351078

Browse Related Books

Resources and Downloads

High Resolution Images