.NET for Apache® Spark™ makes Apache Spark™ easily accessible to .NET developers.
MIT License
.NET for Apache Spark provides high performance APIs for using Apache Spark from C# and F#. With these .NET APIs, you can access the most popular Dataframe and SparkSQL aspects of Apache Spark, for working with structured data, and Spark Structured Streaming, for working with streaming data.
.NET for Apache Spark is compliant with .NET Standard - a formal specification of .NET APIs that are common across .NET implementations. This means you can use .NET for Apache Spark anywhere you write .NET code allowing you to reuse all the knowledge, skills, code, and libraries you already have as a .NET developer.
.NET for Apache Spark runs on Windows, Linux, and macOS using .NET 6, or Windows using .NET Framework. It also runs on all major cloud providers including Azure HDInsight Spark, Amazon EMR Spark, AWS & Azure Databricks.
Note: We currently have a Spark Project Improvement Proposal JIRA at SPIP: .NET bindings for Apache Spark to work with the community towards getting .NET support by default into Apache Spark. We highly encourage you to participate in the discussion.
*2.4.2 is not supported.
.NET for Apache Spark releases are available here and NuGet packages are available here.
These instructions will show you how to run a .NET for Apache Spark app using .NET 6.
Ubuntu | Windows |
Building from source is very easy and the whole process (from cloning to being able to run your app) should take less than 15 minutes!
Instructions | ||
---|---|---|
Windows | Local - .NET Framework 4.6.1Local - .NET 6 | |
Ubuntu | Local - .NET 6Azure HDInsight Spark - .NET 6 |
There are two types of samples/apps in the .NET for Apache Spark repo:
Getting Started - .NET for Apache Spark code focused on simple and minimalistic scenarios.
End-End apps/scenarios - Real world examples of industry standard benchmarks, usecases and business applications implemented using .NET for Apache Spark.
We welcome contributions to both categories!
We welcome contributions! Please review our contribution guide.
This project would not have been possible without the outstanding work from the following communities:
The .NET for Apache Spark team encourages contributions, both issues and PRs. The first step is finding an existing issue you want to contribute to or if you cannot find any, open an issue.
.NET for Apache Spark is an open source project under the .NET Foundation and does not come with Microsoft Support unless otherwise noted by the specific product. For issues with or questions about .NET for Apache Spark, please create an issue. The community is active and is monitoring submissions.
The .NET for Apache Spark project is part of the .NET Foundation.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.
.NET for Apache Spark is licensed under the MIT license.