airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ash Berlin-Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-2158) Airflow should not store logs as raw ISO timestamps
Date Thu, 01 Mar 2018 09:48:00 GMT

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

Ash Berlin-Taylor commented on AIRFLOW-2158:
--------------------------------------------

Duplicate of https://issues.apache.org/jira/browse/AIRFLOW-1564 which has already been fixed
on master.

https://github.com/apache/incubator-airflow/commit/4c674ccffda1fbc38b8cc044b0e2c004422a2035
was the commit that fixed it.

> Airflow should not store logs as raw ISO timestamps
> ---------------------------------------------------
>
>                 Key: AIRFLOW-2158
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2158
>             Project: Apache Airflow
>          Issue Type: Improvement
>         Environment: 1.9.0
>            Reporter: Christian D
>            Priority: Minor
>              Labels: easyfix, windows
>             Fix For: Airflow 2.0
>
>
> Problem:
> When Airflow writes logs to disk, it uses a ISO-8601 timestamp as the filename. In a
Linux filesystem this works completely fine (because all characters in a ISO-8601 timestamp
is allowed). However, it doesn't work on Windows based systems  (including Azure File Storage)
because {{:}} is a disallowed character.
> Solution:
> Ideally, Airflow should store logs such that they're somewhat compatible across file
systems. An easy way of fixing this would therefore be to always replace {{:}} with underscores.



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

Mime
View raw message