Skip to content

please don't delete AwsHostNameUtils #6544

@steveloughran

Description

@steveloughran

Describe the feature

I've noticed that AwsHostNameUtils has a comment "TODO This isn't used for as many services as it supports. Can we simplify or remove it?".

It is used in the hadoop s3a client to work out the signing region of a bucket.

Removing it would break things and make people sad. 😢

Please leave, and ideally update the docs to say "this is used externally". Thanks.

Use Case

getS3RegionFromEndpoint() to continue to return region of VPCE endpoints.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS Java SDK version used

2.35.4

JDK version used

8, 17

Operating System and version

various

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions