2010YOUY01 commented on issue #17458: URL: https://github.com/apache/datafusion/issues/17458#issuecomment-3279455373
> > I tried the latest commit [351675d](https://github.com/apache/datafusion/commit/351675ddc27c42684a079b3a89fe2dee581d89a2), and it's still failing on my machine. Perhaps you have those env vars set in your environment? > > [@2010YOUY01](https://github.com/2010YOUY01) Did you try this? > > [datafusion/datafusion-cli/CONTRIBUTING.md](https://github.com/apache/datafusion/blob/351675ddc27c42684a079b3a89fe2dee581d89a2/datafusion-cli/CONTRIBUTING.md#L47-L54) > > Lines 47 to 54 in [351675d](/apache/datafusion/commit/351675ddc27c42684a079b3a89fe2dee581d89a2) > > If you see an error mentioning "failed to load IMDS session token" such as > > > ---- object_storage::tests::s3_object_store_builder_resolves_region_when_none_provided stdout ---- > > Error: ObjectStore(Generic { store: "S3", source: "Error getting credentials from provider: an error occurred while loading credentials: failed to load IMDS session token" }) > > You may need to disable trying to fetch S3 credentials from the environment using the `AWS_EC2_METADATA_DISABLED`, for example: > > > $ AWS_EC2_METADATA_DISABLED=true TEST_STORAGE_INTEGRATION=1 cargo test Yes, but this doc is hard to find. We should make it clearer how to proceed—either disable these options when they’re not set or include explicit hints in the error message. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org