apache-airflow-providers-apache-spark
Provider package apache-airflow-providers-apache-spark for Apache Airflow
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-sparkuv
uv add apache-airflow-providers-apache-sparkpoetry
poetry add apache-airflow-providers-apache-sparkInstalling 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
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
apache-airflow-providers-apache-flinkProvides Apache Airflow integration for Apache…
permissive · top 15,000 on PyPI
apache-airflow-providers-celeryIntegrates Celery distributed task execution…
permissive · top 5,000 on PyPI
apache-airflow-providers-dbt-cloudIntegrates dbt Cloud with Apache Airflow,…
permissive · top 5,000 on PyPI
apache-airflow-providers-airbyteIntegrates Airbyte data pipelines into Apache…
permissive · top 5,000 on PyPI
apache-airflow-providers-cncf-kubernetesIntegrates Apache Airflow with Kubernetes,…
permissive · top 5,000 on PyPI
apache-airflow-providers-databricksIntegrates Apache Airflow with Databricks,…
permissive · top 1,000 on PyPI
apache-airflow-providers-jenkinsIntegrates Jenkins CI/CD systems into Apache…
permissive · top 15,000 on PyPI
apache-airflow-providers-tableauIntegrates Tableau with Apache Airflow,…
permissive · top 5,000 on PyPI
apache-airflow-providers-standardProvides standard operators, hooks, and sensors…
permissive · top 5,000 on PyPI
apache-airflow-providers-microsoft-fabricProvides Apache Airflow operators to trigger,…
unclear · top 5,000 on PyPI