[
https://issues.apache.org/jira/browse/AIRFLOW-4922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17359149#comment-17359149
]
ASF GitHub Bot commented on AIRFLOW-4922:
-----------------------------------------
peschue edited a comment on pull request #6722:
URL: https://github.com/apache/airflow/pull/6722#issuecomment-856569535
> That said I remember a change that was committed a few days ago (for
something else, not specifically this bug) that may fix this in 2.1.0 when it's
out, which should be "days to weeks" timeframe.
>
> Edit: the change in taskinstance.py in
[817b599](https://github.com/apache/airflow/commit/817b599234dca050438ee04bc6944d32bc032694)
is what I was thinking of
Thank you for that pointer!
The 2.1.0-rc2 was released recently and there is also a "2.1.0-python3.8"
tag in dockerhub - does the 2.1.0-python3.8 docker image contain 2.1.0-rc2?
--
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:
[email protected]
> If a task crashes, host name is not committed to the database so logs aren't
> able to be seen in the UI
> ------------------------------------------------------------------------------------------------------
>
> Key: AIRFLOW-4922
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4922
> Project: Apache Airflow
> Issue Type: Bug
> Components: logging
> Affects Versions: 1.10.3
> Reporter: Andrew Harmon
> Assignee: wanghong-T
> Priority: Major
>
> Sometimes when a task fails, the log show the following
> {code}
> *** Log file does not exist:
> /usr/local/airflow/logs/my_dag/my_task/2019-07-07T09:00:00+00:00/1.log***
> Fetching from:
> http://:8793/log/my_dag/my_task/2019-07-07T09:00:00+00:00/1.log***
> Failed to fetch log file from worker. Invalid URL
> 'http://:8793/log/my_dag/my_task/2019-07-07T09:00:00+00:00/1.log': No host
> supplied
> {code}
> I believe this is due to the fact that the row is not committed to the
> database until after the task finishes.
> https://github.com/apache/airflow/blob/a1f9d9a03faecbb4ab52def2735e374b2e88b2b9/airflow/models/taskinstance.py#L857
--
This message was sent by Atlassian Jira
(v8.3.4#803005)