task failed with a null hostname
See original GitHub issueApache Airflow version: 2.0.0
Kubernetes version (if you are using kubernetes) (use kubectl version
):
Environment:
- Cloud provider or hardware configuration: tencent cloud
- OS (e.g. from /etc/os-release): centos7
- Kernel (e.g.
uname -a
): 3.10 - Install tools:
- Others: Server version: 8.0.22 MySQL Community Server - GPL
What happened:
Task is in the failed state. I found the log file on one of the worker node and the task is actually success. And in the task instance details tab, the hostname field is null.
And the logs are as follows:
*** Log file does not exist: /data/app/epic-airflow/logs/tiny_demo80677608236/task_0/2021-01-15T09:04:00+00:00/1.log
*** Fetching from: http://:8793/log/tiny_demo80677608236/task_0/2021-01-15T09:04:00+00:00/1.log
*** Failed to fetch log file from worker. Invalid URL 'http://:8793/log/tiny_demo80677608236/task_0/2021-01-15T09:04:00+00:00/1.log': No host supplied
What you expected to happen:
Task should be success.
How to reproduce it:
I don’t know how to reproduce it steadyly. It happened sometimes.
Anything else we need to know:
No
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (6 by maintainers)
Top Results From Across the Web
java.lang.IllegalArgumentException: Host name may not be null
The bad URL is likely causing an Exception in the HttpGet where it processes the URL is returning a null to the rest...
Read more >URLSession can't complete task when server is not found
URLSession starts waiting for connectivity when network is available, but requested domain doesn't not exist. Some errors can shows up console:.
Read more >Health check failed due to java.lang.IllegalArgumentException
This exception has been observed after upgrading a Jira instance that was running behind a reverse proxy to the 9.0.x version. ... Because...
Read more >Connecting an ESXi host to vCenter Server fails with a ...
This issue can occur if the host certificate has one of these problems: The host name does not match the Subject Name(s) in...
Read more >Scheduled tasks failures after upgrade to 10.8.0
Messaging Gateway Alert - Scheduled tasks failures after upgrade to 10.8.0 ... [AgentHelper] ERROR - --- Host Name: null
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Getting the same issue.
Getting the same issue as well on airflow 2.0.2. Anyone solved it ?