External dependency on serverless job from Airflow is not working on s3 path and workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2024 08:57 PM
I am working on use case where we have to run python script from serverless job through Airflow. when we are trying to trigger serverless job and passing external dependency as wheel from s3 path or workspace path it is not working, but on volume it is working.
Is serverless job currently not supporting dependencies from s3 path or workspace.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2024 03:39 AM
It seems that is should be supported, are you using the following format for the URI: { "whl": "s3://my-bucket/library.whl" }?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2024 01:17 AM
I am using these external dependencies as below,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2024 06:14 AM
And does the compute has proper permissions to access the S3?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2024 08:23 AM
I am having a similar issue. I am on Azure, running a Python Wheel workflow from a whl file stored in a Volume. The workflow runs successfully on a normal job cluster, but fails on serverless with the message `run failed with error message Unexpected error during library installation`. Almost impossible to debug due to the lack of logs when using serverless.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2024 08:36 AM
As per serverless compute limitations I can see the following:
-
Task libraries are not supported for notebook tasks. Use notebook-scoped libraries instead. See Notebook-scoped Python libraries.