You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2017/06/20 10:29:00 UTC

[jira] [Created] (AIRFLOW-1326) CLONE - Contrib Spark Submit Hook _should not_ split argument array

Ash Berlin-Taylor created AIRFLOW-1326:
------------------------------------------

             Summary: CLONE - Contrib Spark Submit Hook _should not_ split argument array
                 Key: AIRFLOW-1326
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1326
             Project: Apache Airflow
          Issue Type: Bug
          Components: contrib, hooks
    Affects Versions: Airflow 2.0, Airflow 1.8
            Reporter: Ash Berlin-Taylor
            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)