-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Guide for Apache Spark operators #8305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guide for Apache Spark operators #8305
Conversation
|
Static tests are failing, you might want to apply following diff: diff --git a/docs/howto/connection/spark.rst b/docs/howto/connection/spark.rst
index bc68bfc3f..d52098cb3 100644
--- a/docs/howto/connection/spark.rst
+++ b/docs/howto/connection/spark.rst
@@ -38,6 +38,6 @@ Extra (optional)
* ``queue`` - The name of the YARN queue to which the application is submitted.
* ``deploy-mode`` - Whether to deploy your driver on the worker nodes (cluster) or locally as an external client (client).
- * ``spark-home`` - If passed then build the ``spark-binary`` executable path using it (``spark-home``/bin/``spark-binary``); otherwise assume that ``spark-binary`` is present in the PATH of the executing user.
+ * ``spark-home`` - If passed then build the ``spark-binary`` executable path using it (``spark-home``/bin/``spark-binary``); otherwise assume that ``spark-binary`` is present in the PATH of the executing user.
* ``spark-binary`` - The command to use for Spark submit. Some distros may use ``spark2-submit``. Default ``spark-submit``.
* ``namespace`` - Kubernetes namespace (``spark.kubernetes.namespace``) to divide cluster resources between multiple users (via resource quota).
diff --git a/docs/howto/operator/apache/spark.rst b/docs/howto/operator/apache/spark.rst
index be52ddde6..b256d9d09 100644
--- a/docs/howto/operator/apache/spark.rst
+++ b/docs/howto/operator/apache/spark.rst
@@ -38,4 +38,3 @@ SparkSqlOperator
SparkSubmitOperator
-------------------
- |
|
I don't know why, but ci failed, maybe you should try to rebase on master? |
airflow/providers/apache/spark/example_dags/example_spark_dag.py
Outdated
Show resolved
Hide resolved
2b5ba90 to
daa1ae2
Compare
38d75a1 to
cdb0340
Compare
|
One more thing. Can you add this tutorial to |
|
Ready to merge @mik-laj |
Issue #8195
Write guide for Apache Spark operators
Make sure to mark the boxes below before creating PR: [x]
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.