jfuechsl opened a new issue, #4283:
URL: https://github.com/apache/arrow-rs/issues/4283

   `AmazonS3Builder::from_env` sets the metadata_endpoint with a postfix from 
the `AWS_CONTAINER_CREDENTIALS_RELATIVE_URI` env var (provided by the ECS 
environment):
   
https://github.com/apache/arrow-rs/blob/17ca4d51d0490f9c65f5adde144f677dbc8300e7/object_store/src/aws/mod.rs#L610
   
   However, this line uses the static `METADATA_ENDPOINT` which is hard-coded 
to "http://169.254.169.254"; .
   This is incorrect according to AWS docs; the correct METADATA_ENDPOINT in 
this case should be "http://169.254.170.2";. (see the 
[docs](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html))
   
   I'd be happy to submit a PR for this once you confirm this is an issue.


-- 
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...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to