[
https://issues.apache.org/jira/browse/AIRFLOW-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ash Berlin-Taylor resolved AIRFLOW-1395.
----------------------------------------
Resolution: Fixed
> 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: 1.8.0
> Environment: Linux
> Reporter: mohamed younuskhan
> Assignee: mohamed younuskhan
> Priority: Major
>
> 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
(v7.6.3#76005)