You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/07/12 09:28:00 UTC
[jira] [Commented] (AIRFLOW-1184) Contrib Spark Submit Hook does
not split argument and argument value
[ https://issues.apache.org/jira/browse/AIRFLOW-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16083696#comment-16083696 ]
ASF subversion and git services commented on AIRFLOW-1184:
----------------------------------------------------------
Commit f5ffb9deb51e896cdda8992c8b28102f7d650662 in incubator-airflow's branch refs/heads/master from [~ashb]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=f5ffb9d ]
[AIRFLOW-1326][[AIRFLOW-1326][AIRFLOW-1184] Don't split argument array -- it's already an array.[
Closes #2382 from ashb/spark-submit-operator-
preserve-spaces
> Contrib Spark Submit Hook does not split argument and argument value
> --------------------------------------------------------------------
>
> Key: AIRFLOW-1184
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1184
> Project: Apache Airflow
> Issue Type: Bug
> Components: contrib, hooks
> Affects Versions: Airflow 2.0, Airflow 1.8
> Reporter: Vianney FOUCAULT
> Assignee: Vianney FOUCAULT
> Fix For: Airflow 2.0, Airflow 1.8
>
>
> Python Popen expect a list as command. Spark submit too, as:
> * ['--option value']
> is not the same as
> * ['--option', 'value']
> in regards of spark. eg spark logs : (yarn logs)
> Error: Unknown option --end 2017-05-08
> Error: Unknown option --begin 2017-05-07
> Error: Unknown option --db_name mydb
> Error: Missing option --begin
> Error: Missing option --end
> Error: Missing option --db_name
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)