
Spark in Action
Covers Apache Spark 3 with Examples in Java, Python, and Scala
- 576 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
About this book
Summary
The Spark distributed data processing platform provides an easy-to-implement tool for ingesting, streaming, and processing data from any source. In Spark in Action, Second Edition, you'll learn to take advantage of Spark's core features and incredible processing speed, with applications including real-time computation, delayed evaluation, and machine learning. Spark skills are a hot commodity in enterprises worldwide, and with Spark's powerful and flexible Java APIs, you can reap all the benefits without first learning Scala or Hadoop. Foreword by Rob Thomas. About the technology
Analyzing enterprise data starts by reading, filtering, and merging files and streams from many sources. The Spark data processing engine handles this varied volume like a champ, delivering speeds 100 times faster than Hadoop systems. Thanks to SQL support, an intuitive interface, and a straightforward multilanguage API, you can use Spark without learning a complex new ecosystem. About the book
Spark in Action, Second Edition, teaches you to create end-to-end analytics applications. In this entirely new book, you'll learn from interesting Java-based examples, including a complete data pipeline for processing NASA satellite data. And you'll discover Java, Python, and Scala code samples hosted on GitHub that you can explore and adapt, plus appendixes that give you a cheat sheet for installing tools and understanding Spark-specific terms. What's inside Writing Spark applications in Java
Spark application architecture
Ingestion through files, databases, streaming, and Elasticsearch
Querying distributed datasets with Spark SQL About the reader
This book does not assume previous experience with Spark, Scala, or Hadoop. About the author
Jean-Georges Perrin is an experienced data and software architect. He is France's first IBM Champion and has been honored for 12 consecutive years. Table of Contents PART 1 - THE THEORY CRIPPLED BY AWESOME EXAMPLES 1 So, what is Spark, anyway? 2 Architecture and flow 3 The majestic role of the dataframe 4 Fundamentally lazy 5 Building a simple app for deployment 6 Deploying your simple app PART 2 - INGESTION 7 Ingestion from files 8 Ingestion from databases 9 Advanced ingestion: finding data sources and building your own 10 Ingestion through structured streaming PART 3 - TRANSFORMING YOUR DATA 11 Working with SQL 12 Transforming your data 13 Transforming entire documents 14 Extending transformations with user-defined functions 15 Aggregating your data PART 4 - GOING FURTHER 16 Cache and checkpoint: Enhancing Spark's performances 17 Exporting data and building full data pipelines 18 Exploring deployment
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Copyright
- brief contents
- contents
- front matter
- Part 1. The theory crippled by awesome examples
- 1. So, what is Spark, anyway?
- 2. Architecture and flow
- 3. The majestic role of the dataframe
- 4. Fundamentally lazy
- 5. Building a simple app for deployment
- 6. Deploying your simple app
- Part 2. Ingestion
- 7. Ingestion from files
- 8. Ingestion from databases
- 9 Advanced ingestion: finding data sources and building your own
- 10. Ingestion through structured streaming
- Part 3. Transforming your data
- 11. Working with SQL
- 12 Transforming your data
- 13. Transforming entire documents
- 14. Extending transformations with user-defined functions
- 15. Aggregating your data
- Part 4. Going further
- 16. Cache and checkpoint: Enhancing Spark’s performances
- 17. Exporting data and building full data pipelines
- 18. Exploring deployment constraints: Understanding the ecosystem
- Appendixes.
- Appendix A. Installing Eclipse
- Appendix B. Installing Maven
- Appendix C. Installing Git
- Appendix D. Downloading the code and getting started with Eclipse
- Appendix E. A history of enterprise data
- Appendix F. Getting help with relational databases
- Appendix G. Static functions ease your transformations
- Appendix H. Maven quick cheat sheet
- Appendix I. Reference for transformations and actions
- Appendix J. Enough Scala
- Appendix K. Installing Spark in production and a few tips
- Appendix L. Reference for ingestion
- Appendix M. Reference for joins
- Appendix N. Installing Elasticsearch and sample data
- Appendix O. Generating streaming data
- Appendix P. Reference for streaming
- Appendix Q. Reference for exporting data
- Appendix R. Finding help when you’re stuck
- index