You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Nidhi (Jira)" <ji...@apache.org> on 2019/12/11 21:25:00 UTC

[jira] [Commented] (AIRFLOW-3909) cant read log file for previous tries with multiply celery workers

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

Nidhi commented on AIRFLOW-3909:
--------------------------------

I faced the same issues. This issue is solved , you can try following links to resolve this issue:

[https://github.com/puckel/docker-airflow/issues/44]

[https://github.com/apache/airflow/pull/3036/commits/127d21f1078063b8f13d23074a48c026106e0028#diff-d496b62128eacd68ed88d779ebd2f0d9]

> cant read log file for previous tries with multiply celery workers
> ------------------------------------------------------------------
>
>                 Key: AIRFLOW-3909
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3909
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: logging
>    Affects Versions: 1.10.2
>            Reporter: Vitaliy Okulov
>            Priority: Major
>
> With 1.10.2 version i have a error when try to read log via web interface for job that have multiply tries, and some of this tries executed on different celery worker than the first one.
> As example:
>  
> {code:java}
> *** Log file does not exist: /usr/local/airflow/logs/php_firebot_log_2/php_firebot_log_task/2019-02-13T20:55:00+00:00/2.log
> *** Fetching from: http://airdafworker2:8793/log/php_firebot_log_2/php_firebot_log_task/2019-02-13T20:55:00+00:00/2.log
> *** Failed to fetch log file from worker. 404 Client Error: NOT FOUND for url: http://airdafworker2:8793/log/php_firebot_log_2/php_firebot_log_task/2019-02-13T20:55:00+00:00/2.log
> {code}
> But this task was executed on airdafworker1 worker, and log file exist on this host.
>  



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