-
Notifications
You must be signed in to change notification settings - Fork 1.2k
IngestionManagerPandas doesn't propagate Boto3 Session profile_name to Workers #2298
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
Comments
I believe this is related to #2288. |
Confirmed that this worked fine in SageMaker 2.37 |
@alex-tang , can you take a look at this? |
Any news on that? We still have got the same issue at v2.51. |
@apriceaws Apologies for getting back to this so late. Earlier the profile name was not trickled down to the worker sessions in the ingest(..) method and hence the workers were making use of default credentials. This now supports providing "profile_name" as an argument in ingest(..) method and the worker sessions are initialized with the profile parameter. So, in order to use the profile_name different than default, it should be passed to profile_name argument in the ingest(..) method. In case, the profile_name argument is not specified, the ingest(..) method uses the default credentials. Can you please confirm if this helps you? |
Closing this ticket since the profile_name is supported as an argument in newer sagemaker |
Describe the bug
When ingesting a DataFrame to a FeatureGroup, there is no way to set the profile_name in the Boto3 Session used by IngestionManagerPandas workers/threads. This prevents utilizing anything but default credentials when ingesting to a FeatureGroup using this class.
To reproduce
Expected behavior
Worker Boto3 sessions should be initialized with a profile name which matches boto3.DEFAULT_SESSION.profile_name.
System information
A description of your system. Please provide:
Additional context
Use of default credentials is not an option in this context.
The text was updated successfully, but these errors were encountered: