[
https://issues.apache.org/jira/browse/AIRFLOW-5451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998714#comment-16998714
]
ASF subversion and git services commented on AIRFLOW-5451:
----------------------------------------------------------
Commit 71ecc060173b7d2da748f258b099cfa2a91e1f65 in airflow's branch
refs/heads/v1-10-test from Fokko Driesprong
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=71ecc06 ]
[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
(cherry picked from commit a87f3dfc0c513b05271cba7051c18e4e742ef245)
> 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: 1.10.7
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)