Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZIP based UDF dependency handling: smarter backoff instead of static sleep #924

Open
soxofaan opened this issue Oct 31, 2024 · 0 comments
Open

Comments

@soxofaan
Copy link
Member

Follow up of #845/#914

Because of the S3-FUSE-mount delay issues, I had to add a sleep of (now) 30s after putting the ZIP archive at /batch_jobs/{job_id}/udf-py-deps.zip, otherwise the executors didn't seem to see that file. Some warnings even seem to suggest that 30s is somtimes not enough.

Instead of a static sleep, it would be better to have a smarter, dynamic backoff strategy, with a couple of retries, and shorter sleeps (possibly exponential)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant