easontm commented on issue #13391:
URL: https://github.com/apache/airflow/issues/13391#issuecomment-948273319


   I'm getting this error on 2.1.4 and Kubernetes executor. I wrote a custom 
version of `MySqlToHiveOperator` with some modifications to debug. Things I 
have checked
   1. The file exists
   2. still broken even if you give everyone `r` on the file
   3. If you set `delete=False` so that `NamedTemporaryFile` leaves it intact, 
and then try to reference the file after the `NamedTemporaryFile` context, 
still broken
   4. if you run `.tell()` and `sleep` on the tempfile before the Hive load you 
can see that the writing is complete before attempting to load


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to