You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jfuechsl (via GitHub)" <gi...@apache.org> on 2023/05/25 14:07:12 UTC

[GitHub] [arrow-rs] jfuechsl opened a new issue, #4283: [object_store - AmazonS3Builder] incorrect metadata_endpoint set in `from_env` in an ECS environment

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

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


Re: [I] [object_store - AmazonS3Builder] incorrect metadata_endpoint set in `from_env` in an ECS environment [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #4283:
URL: https://github.com/apache/arrow-rs/issues/4283#issuecomment-2741684311

   Migrating from arrow-rs issue [#4283](https://github.com/apache/arrow-rs/issues/4283)


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

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


[GitHub] [arrow-rs] tustvold commented on issue #4283: [object_store - AmazonS3Builder] incorrect metadata_endpoint set in `from_env` in an ECS environment

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #4283:
URL: https://github.com/apache/arrow-rs/issues/4283#issuecomment-1573883961

   `label_issue.py` automatically added labels {'object-store'} from #4288


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

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


[GitHub] [arrow-rs] tustvold closed issue #4283: [object_store - AmazonS3Builder] incorrect metadata_endpoint set in `from_env` in an ECS environment

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #4283: [object_store - AmazonS3Builder] incorrect metadata_endpoint set in `from_env` in an ECS environment
URL: https://github.com/apache/arrow-rs/issues/4283


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

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


[GitHub] [arrow-rs] tustvold commented on issue #4283: [object_store - AmazonS3Builder] incorrect metadata_endpoint set in `from_env` in an ECS environment

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #4283:
URL: https://github.com/apache/arrow-rs/issues/4283#issuecomment-1563187853

   That seems correct to me, would be happy to review a PR making the proposed change


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

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