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 GitHub Bot (Jira)" <ji...@apache.org> on 2020/06/17 15:23:00 UTC

[jira] [Commented] (AIRFLOW-3853) Duplicate Logs appearing in S3

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

ASF GitHub Bot commented on AIRFLOW-3853:
-----------------------------------------

FelixTx commented on pull request #4675:
URL: https://github.com/apache/airflow/pull/4675#issuecomment-645442037


   Hey, I'm having this same issue, with reschedule mode for task sensors. Any update ? Thanks


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Duplicate Logs appearing in S3
> ------------------------------
>
>                 Key: AIRFLOW-3853
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3853
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: logging
>    Affects Versions: 1.10.2
>            Reporter: Sam Bock
>            Assignee: Sam Bock
>            Priority: Major
>
> We've recently started to see duplicate logs in S3. After digging into it, we discovered that this was due to our use of the new `reschedule` mode on our sensors. Because the same `try_number` is used when a task reschedules, the local log file frequently contains results from previous attempts. Additionally, because the `s3_task_helper.py` always tries to `append` the local log file to the remove log file, this can result in massive logs (we found one that 400 mb).
> To fix this, we'd like to remove the local log after a successful upload.



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