[
https://issues.apache.org/jira/browse/AIRFLOW-4772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861310#comment-16861310
]
ROHIT K RAMWAL commented on AIRFLOW-4772:
-----------------------------------------
[~ash] I tried to run it. Here is scenario where its failing.
python3 /bin/airflow run hive_test_flow hiveactiontobackuptable
2019-06-11T18:18:43.304403+00:00 --job_id 71 --raw -sd
DAGS_FOLDER/hive_test/test_hive.py --cfg_path /tmp/tmpwz67adw6
The cfg is a showing for user id location inside the tmpwz67adw6 and not the
default.
> airflow run_as_user creates new config file when trying to execute a task
> -------------------------------------------------------------------------
>
> Key: AIRFLOW-4772
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4772
> Project: Apache Airflow
> Issue Type: Bug
> Components: DAG
> Affects Versions: 1.10.3
> Environment: Linux centos-7.2.1511
> Reporter: ROHIT K RAMWAL
> Priority: Major
>
> I am using celery executor to scale airflow with redis as backed. Workers are
> executed with airflow user and have priviliges to sudo to other users in the
> system.
> In my config i have set the default_impersonation = 'svc*123' which is a
> default load id for all my jobs. When ever i trigger a job the airflow
> creates a new folder under 'svc*123' and generates a default config which
> fails to identify the original configuration.
> Tried the same with run_as_user which also creates new config first time. If
> we use multiple users to administrate our system better airflow keeps on
> generating new config and default database everytime.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)