skillfed

apache-airflow-providers-apache-spark

Provider package apache-airflow-providers-apache-spark for Apache Airflow

apache-airflow-providers-apache-spark v6.3.1 1.2M downloads/30d#4,246 on PyPI46,490
Permissive license Apache-2.0 Active released

What it is and what it does

This is an Apache Airflow provider package that adds Spark integration to Airflow's orchestration framework. It allows you to define, schedule, and monitor Apache Spark jobs as tasks within Airflow DAGs, treating Spark workloads as first-class Airflow operators. The package depends on apache-airflow (>=2.11.0), pyspark-client (>=4.0.0), and several supporting libraries (grpcio-status, requests, tenacity) to handle communication, retries, and status reporting.

The provider is actively maintained by the Apache Airflow project, with production-stable status and support for Python 3.10 through 3.14. It is designed for developers and system administrators who need to integrate Spark batch or streaming jobs into larger Airflow-based data pipelines. Optional dependencies allow integration with Kubernetes clusters and OpenLineage data lineage tracking when needed.

Use it for:

  • Schedule and monitor Spark batch jobs as part of a multi-step Airflow data pipeline.
  • Orchestrate Spark SQL transformations triggered by upstream Airflow tasks.
  • Submit Spark jobs to a Kubernetes cluster via Airflow using the cncf.kubernetes extra.
  • Track data lineage of Spark jobs within Airflow using the openlineage optional dependency.
  • Coordinate Spark workloads with non-Spark tasks in a unified Airflow workflow.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Integrates Apache Spark with Apache Airflow, enabling you to orchestrate and monitor Spark jobs as part of Airflow workflows.

Yes. This is a production-stable, actively maintained provider with low install friction and no known vulnerabilities. Install it if you run Airflow and need to orchestrate Spark jobs as part of your DAGs. Requires Airflow >=2.11.0 and Python >=3.10; verify your environment meets these minimums before installing.

Install

apache-airflow-providers-apache-spark on PyPI

pip

pip install apache-airflow-providers-apache-spark

uv

uv add apache-airflow-providers-apache-spark

poetry

poetry add apache-airflow-providers-apache-spark

Installing apache-airflow-providers-apache-spark

Before you install

Low install friction; pure Python wheel. Active maintenance with release 6 days old. Requires apache-airflow >=2.11.0 and pyspark-client >=4.0.0 as core runtime dependencies.

License in practice

Apache-2.0 (permissive): you can use, modify, and distribute this package freely in commercial and private projects, provided you include a copy of the license and note any changes.

Quickstart

pip install apache-airflow-providers-apache-spark

from airflow.providers.apache.spark import operators
# Use SparkSubmitOperator or other Spark operators in your DAG

Requires apache-airflow >=2.11.0 and Python >=3.10; pyspark-client >=4.0.0 must be installed.

Verify before relying

  • Whether pyspark-client >=4.0.0 is a drop-in replacement for traditional PySpark or requires different code patterns.
  • Whether the optional extras (cncf.kubernetes, openlineage, pyspark) are commonly needed or edge cases.
  • Specific Spark job types or configurations this provider supports or does not support.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 6 — apache-airflow, apache-airflow-providers-common-compat, pyspark-client, grpcio-status, requests, tenacity
Maintenance actively maintained — 6 days since the last release
Last repo commit
First released
Downloads 1,187,469/month — #4,246 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: apache_airflow_providers_apache_spark-6.3.1-py3-none-any.whl

Keywords: airflow-provider, apache.spark, airflow, integration

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Web EnvironmentFramework :: Apache AirflowFramework :: Apache Airflow :: ProviderIntended Audience :: DevelopersIntended Audience :: System AdministratorsProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: System :: Monitoring

Tags

airflow spark integrationorchestrate spark jobs airflowspark provider airflowairflow spark operatorschedule spark tasks airflowspark dag airflow
airflow-providerspark-integrationworkflow-orchestration

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

apache-airflow-providers-apache-flink

Provides Apache Airflow integration for Apache…

permissive · top 15,000 on PyPI

apache-airflow-providers-celery

Integrates Celery distributed task execution…

permissive · top 5,000 on PyPI

apache-airflow-providers-dbt-cloud

Integrates dbt Cloud with Apache Airflow,…

permissive · top 5,000 on PyPI

apache-airflow-providers-airbyte

Integrates Airbyte data pipelines into Apache…

permissive · top 5,000 on PyPI

apache-airflow-providers-cncf-kubernetes

Integrates Apache Airflow with Kubernetes,…

permissive · top 5,000 on PyPI

apache-airflow-providers-databricks

Integrates Apache Airflow with Databricks,…

permissive · top 1,000 on PyPI

apache-airflow-providers-jenkins

Integrates Jenkins CI/CD systems into Apache…

permissive · top 15,000 on PyPI

apache-airflow-providers-tableau

Integrates Tableau with Apache Airflow,…

permissive · top 5,000 on PyPI

apache-airflow-providers-standard

Provides standard operators, hooks, and sensors…

permissive · top 5,000 on PyPI

apache-airflow-providers-microsoft-fabric

Provides Apache Airflow operators to trigger,…

unclear · top 5,000 on PyPI