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)

Reply via email to