You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Volcano4bit6 (via GitHub)" <gi...@apache.org> on 2023/11/20 22:52:34 UTC
[I] Error invalid log folder's name because fault when generating run_id [airflow]
Volcano4bit6 opened a new issue, #35765:
URL: https://github.com/apache/airflow/issues/35765
### Apache Airflow version
2.7.3
### What happened
I can't trigger my DAG
### What you think should happen instead
_No response_
### How to reproduce
When I triggered a DAG, I had the following fault:
`ERROR - Failed to execute task [Errno 22] Invalid argument: '/opt/airflow/logs/dag_id=hello_world/run_id=manual__2023-11-20T22:41:50.275085+00:00'.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/pathlib.py", line 1288, in mkdir
self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/airflow/logs/dag_id=hello_world/run_id=manual__2023-11-20T22:41:50.275085+00:00/task_id=hello_task'`
My OS is Ubuntu 20.04. The name `manual__2023-11-20T22:41:50.275085+00:00` is invalid because the folder's name must not have `:` character. How can I change the `run_id` generation method or can we update the generation method?
### Operating System
Ubuntu 20.04
### Versions of Apache Airflow Providers
_No response_
### Deployment
Docker-Compose
### Deployment details
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Error invalid log folder's name because fault when generating run_id [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #35765: Error invalid log folder's name because fault when generating run_id
URL: https://github.com/apache/airflow/issues/35765
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Error invalid log folder's name because fault when generating run_id [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #35765:
URL: https://github.com/apache/airflow/issues/35765#issuecomment-1819946538
In the future, if you ask a question of this kind you should open discussion, not issue.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Error invalid log folder's name because fault when generating run_id [airflow]
Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #35765:
URL: https://github.com/apache/airflow/issues/35765#issuecomment-1819934270
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Error invalid log folder's name because fault when generating run_id [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #35765:
URL: https://github.com/apache/airflow/issues/35765#issuecomment-1819945867
I think you are running it on Windows Filesystem that's why it does not work for you . You should change your filesystem to be Linux-based, t won't work otherwise.
Airflow expliclity only works with POSIX OS and POSIX filesystems. It is a requirement.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Error invalid log folder's name because fault when generating run_id [airflow]
Posted by "Volcano4bit6 (via GitHub)" <gi...@apache.org>.
Volcano4bit6 commented on issue #35765:
URL: https://github.com/apache/airflow/issues/35765#issuecomment-1820064439
Thank you, it's work
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org