You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/09/22 18:49:00 UTC

[jira] [Commented] (AIRFLOW-5536) Output log was removed on EXITING from sub-shell

    [ https://issues.apache.org/jira/browse/AIRFLOW-5536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16935393#comment-16935393 ] 

ASF subversion and git services commented on AIRFLOW-5536:
----------------------------------------------------------

Commit f63e4e37d00e52165d7a241626e207e192aae6f2 in airflow's branch refs/heads/master from Jarek Potiuk
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=f63e4e3 ]

[AIRFLOW-5536] Better handling of temporary output files


> Output log was removed on EXITING from sub-shell
> ------------------------------------------------
>
>                 Key: AIRFLOW-5536
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5536
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: ci
>    Affects Versions: 2.0.0, 1.10.5
>            Reporter: Jarek Potiuk
>            Priority: Major
>
> Output log is now by default deleted at exit from the build scripts on CI (via trap), This can be disabled but by default it is enabled and the way it worked (handling EXIT signal) it was removed also when sub-shell (hooks/build) exited (and there were still some writing to those files that could happen afterwards).
> Also in case of CRON build - when all the build cache was deleted, also the temporary directory was deleted right after it was created (and trying to write to the output log failed). Therefore the log is now simply created in a temporary directory provided by the filesystem.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)