© 2018

Beginning Apache Spark 2

With Resilient Distributed Datasets, Spark SQL, Structured Streaming and Spark Machine Learning library


Table of contents

  1. Front Matter
    Pages i-xi
  2. Hien Luu
    Pages 1-13
  3. Hien Luu
    Pages 15-49
  4. Hien Luu
    Pages 51-86
  5. Hien Luu
    Pages 87-145
  6. Hien Luu
    Pages 147-217
  7. Hien Luu
    Pages 219-286
  8. Hien Luu
    Pages 287-326
  9. Hien Luu
    Pages 327-383
  10. Back Matter
    Pages 385-393

About this book


Develop applications for the big data landscape with Spark and Hadoop. This book also explains the role of Spark in developing scalable machine learning and analytics applications with Cloud technologies. Beginning Apache Spark 2 gives you an introduction to Apache Spark and shows you how to work with it.

Along the way, you’ll discover resilient distributed datasets (RDDs); use Spark SQL for structured data; and learn stream processing and build real-time applications with Spark Structured Streaming. Furthermore, you’ll learn the fundamentals of Spark ML for machine learning and much more. 

After you read this book, you will have the fundamentals to become proficient in using Apache Spark and know when and how to apply it to your big data applications.  

You will: 

  • Understand Spark unified data processing platform 
  • Use and manipulate RDDs 
  • Deal with structured data using Spark SQL
  • Build real-time applications using Spark Structured Streaming
  • Develop intelligent applications with the Spark Machine Learning library


Big Data Apache Spark Spark No SQL HDFS MapReduce Scala Spark Data Frames Hadoop

Authors and affiliations


About the authors

Hien Luu has extensive experience in designing and building big data applications and scalable web-based applications. He is particularly passionate about the intersection between big data and machine learning. Hien enjoys working with open source software and has contributed to Apache Pig and Azkaban. Teaching is also one of his passions, and he serves as an instructor at the UCSC Silicon Valley Extension school teaching Apache Spark. He has given presentations at various conferences such a QCon SF, QCon London, Seattle Data Day, Hadoop Summit, and JavaOne.

Bibliographic information

Industry Sectors
IT & Software
Consumer Packaged Goods
Finance, Business & Banking