You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
registry.db should be fetched by java feature server in any valid S3 location.
Current Behavior
Java feature server can only fetch registry.db if it is in the root directory of the S3 bucket.
Steps to reproduce
Set registry java config to a nested s3 path such as "s3://bucket/child_directory/registry.db" and the server will throw a "No Such Key" error. However, something like "s3://bucket/registry.db" works.
Specifications
Version:
Platform:
Subsystem:
Possible Solution
The issue seems to be in feast.serving.registry.S3RegistryFile.java lines 35-36:
The current code splits and uses the element at index 1, which may or may not be the registry.db file. Instead, we should join back the last n-1 elements of the split array. Something like this:
Expected Behavior
registry.db should be fetched by java feature server in any valid S3 location.
Current Behavior
Java feature server can only fetch registry.db if it is in the root directory of the S3 bucket.
Steps to reproduce
Set registry java config to a nested s3 path such as "s3://bucket/child_directory/registry.db" and the server will throw a "No Such Key" error. However, something like "s3://bucket/registry.db" works.
Specifications
Possible Solution
The issue seems to be in feast.serving.registry.S3RegistryFile.java lines 35-36:
The current code splits and uses the element at index 1, which may or may not be the registry.db file. Instead, we should join back the last n-1 elements of the split array. Something like this:
The text was updated successfully, but these errors were encountered: