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

[jira] [Created] (AIRFLOW-1395) sql_alchemy_conn_cmd does not work when executor is non SequentialExecutor

mohamed younuskhan created AIRFLOW-1395:
-------------------------------------------

             Summary: sql_alchemy_conn_cmd does not work when executor is non SequentialExecutor
                 Key: AIRFLOW-1395
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1395
             Project: Apache Airflow
          Issue Type: Bug
    Affects Versions: Airflow 1.8
         Environment: Linux
            Reporter: mohamed younuskhan
            Assignee: mohamed younuskhan


I was trying to use sql_alchemy_conn_cmd to proctect the postgress password. I am using LocalExecutor as executor. Airflow initialization fails with below exception. It appears the it load the default config and along with overridden environment variable. When executor was already overridden and sql_alchemy_conn was set to defaul sqlite. The error check fails and throws below exception.

  File "<PATH>/bin/airflow", line 17, in <module>
    from airflow import configuration
  File "<PATH>/lib/python2.7/site-packages/airflow/__init__.py", line 29, in <module>
    from airflow import configuration as conf
  File "<PATH>/lib/python2.7/site-packages/airflow/configuration.py", line 784, in <module>
    conf.read(AIRFLOW_CONFIG)
  File "<PATH>/lib/python2.7/site-packages/airflow/configuration.py", line 636, in read
    self._validate()
  File "<PATH>/lib/python2.7/site-packages/airflow/configuration.py", line 548, in _validate
    self.get('core', 'executor')))
airflow.exceptions.AirflowConfigException: error: cannot use sqlite with the LocalExecutor



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)