You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Aizhamal Nurmamat kyzy (JIRA)" <ji...@apache.org> on 2019/05/18 02:24:00 UTC

[jira] [Updated] (AIRFLOW-3825) Abstract the DockerOperator's handling of host temporary directories

     [ https://issues.apache.org/jira/browse/AIRFLOW-3825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aizhamal Nurmamat kyzy updated AIRFLOW-3825:
--------------------------------------------
    Labels: docker easyfix  (was: easyfix)

> Abstract the DockerOperator's handling of host temporary directories
> --------------------------------------------------------------------
>
>                 Key: AIRFLOW-3825
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3825
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: docker, operators
>            Reporter: Max Gasner
>            Assignee: Max Gasner
>            Priority: Trivial
>              Labels: docker, easyfix
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Depending on circumstances, users of the DockerOperator may want to override its handling of host temporary directories, for instance to persist those directories after DAG execution is complete, or to change their naming convention. Right now the logic governing this is buried deep inside the execute method, so that overriding this behavior requires substantial amounts of code in any class wrapping DockerOperator. We can factor this out into a new method, get_host_tmp_dir, to make this easier for users to overrride.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)