[
https://issues.apache.org/jira/browse/AIRFLOW-5451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16928320#comment-16928320
]
ASF subversion and git services commented on AIRFLOW-5451:
----------------------------------------------------------
Commit a87f3dfc0c513b05271cba7051c18e4e742ef245 in airflow's branch
refs/heads/master from Fokko Driesprong
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=a87f3df ]
[AIRFLOW-5451] SparkSubmitHook don't set default namespace (#6072)
* [AIRFLOW-5451] SparkSubmitHook don't set default namespace
We only want to set the namespace if it isn't default.
https://spark.apache.org/docs/latest/running-on-kubernetes.html#configuration
The default is already set by Spark, therefore we don't want to pass
it if is default. This also allows us to pass the namespace over the
conf dict. Otherwise the namespace would be set twice.
* Fix tests as well
> Spark Submit Hook don't set namespace if default
> ------------------------------------------------
>
> Key: AIRFLOW-5451
> URL: https://issues.apache.org/jira/browse/AIRFLOW-5451
> Project: Apache Airflow
> Issue Type: Task
> Components: hooks
> Affects Versions: 1.10.5
> Reporter: Fokko Driesprong
> Assignee: Fokko Driesprong
> Priority: Major
> Fix For: 2.0.0
>
>
--
This message was sent by Atlassian Jira
(v8.3.2#803003)