Skip to main content
  • Book
  • © 2021

Introducing .NET for Apache Spark

Distributed Processing for Massive Datasets

Apress

Authors:

  • Helps .NET developers use Apache Spark without needing Python or Scala
  • Shows you how to use the power of Apache Spark to efficiently process big data
  • Provides examples in C# and F#
  • 4905 Accesses

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (11 chapters)

  1. Front Matter

    Pages i-xv
  2. Getting Started

    1. Front Matter

      Pages 1-1
    2. Understanding Apache Spark

      • Ed Elliott
      Pages 3-12
    3. Setting Up Spark

      • Ed Elliott
      Pages 13-40
  3. The APIs

    1. Front Matter

      Pages 65-65
    2. User-Defined Functions

      • Ed Elliott
      Pages 67-83
    3. The DataFrame API

      • Ed Elliott
      Pages 85-106
    4. Spark SQL and Hive Tables

      • Ed Elliott
      Pages 107-118
    5. Spark Machine Learning API

      • Ed Elliott
      Pages 119-140
  4. Examples

    1. Front Matter

      Pages 141-141
    2. Batch Mode Processing

      • Ed Elliott
      Pages 143-170
    3. Structured Streaming

      • Ed Elliott
      Pages 171-184
    4. Troubleshooting

      • Ed Elliott
      Pages 185-206
    5. Delta Lake

      • Ed Elliott
      Pages 207-228
  5. Back Matter

    Pages 229-262

About this book

Get started using Apache Spark via C# or F# and the .NET for Apache Spark bindings. This book is an introduction to both Apache Spark and the .NET bindings. Readers new to Apache Spark will get up to speed quickly using Spark for data processing tasks performed against large and very large datasets. You will learn how to combine your knowledge of .NET with Apache Spark to bring massive computing power to bear by distributed processing of extremely large datasets across multiple servers.


This book covers how to get a local instance of Apache Spark running on your developer machine and shows you how to create your first .NET program that uses the Microsoft .NET bindings for Apache Spark. Techniques shown in the book allow you to use Apache Spark to distribute your data processing tasks over multiple compute nodes. You will learn to process data using both batch mode and streaming mode so you can make the right choice depending on whether you are processing an existing dataset or are working against new records in micro-batches as they arrive. The goal of the book is leave you comfortable in bringing the power of Apache Spark to your favorite .NET language. 






What You Will Learn
  • Install and configure Spark .NET on Windows, Linux, and macOS 
  • Write Apache Spark programs in C# and F# using the .NET bindings
  • Access and invoke the Apache Spark APIs from .NET with the same high performance as Python, Scala, and R
  • Encapsulate functionality in user-defined functions
  • Transform and aggregate large datasets 
  • Execute SQL queries against files through Apache Hive
  • Distribute processing of large datasets across multiple servers
  • Create your own batch, streaming, and machine learning programs






Who This Book Is For


.NETdevelopers who want to perform big data processing without having to migrate to Python, Scala, or R; and Apache Spark developers who want to run natively on .NET and take advantage of the C# and F# ecosystems

Authors and Affiliations

  • Sussex, UK

    Ed Elliott

About the author

Ed Elliott is a data engineer who has been working in IT for 20 years and has focused on data for the last 15 years. He uses Apache Spark at work and has been contributing to the Microsoft .NET for Apache Spark open source project since it was released in 2019. Ed has been blogging and writing since 2014 at his own blog as well as for SQL Server Central and Redgate. He has spoken at a number of events such as SQLBits, SQL Saturday, and the GroupBy conference.

Bibliographic Information

  • Book Title: Introducing .NET for Apache Spark

  • Book Subtitle: Distributed Processing for Massive Datasets

  • Authors: Ed Elliott

  • DOI: https://doi.org/10.1007/978-1-4842-6992-3

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)

  • Copyright Information: Ed Elliott 2021

  • Softcover ISBN: 978-1-4842-6991-6Published: 14 April 2021

  • eBook ISBN: 978-1-4842-6992-3Published: 13 April 2021

  • Edition Number: 1

  • Number of Pages: XV, 262

  • Number of Illustrations: 41 b/w illustrations

  • Topics: Microsoft and .NET, Big Data

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access