Skip to content

HDDS-15511. Implement Ozone client API's for bucket tagging#10533

Open
Gargi-jais11 wants to merge 1 commit into
apache:masterfrom
Gargi-jais11:HDDS-15511
Open

HDDS-15511. Implement Ozone client API's for bucket tagging#10533
Gargi-jais11 wants to merge 1 commit into
apache:masterfrom
Gargi-jais11:HDDS-15511

Conversation

@Gargi-jais11

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

  1. Expose getBucketTagging / putBucketTagging / deleteBucketTagging on Ozone client with version gating.
  • ClientProtocol.java / OzoneManagerProtocol.java — interface methods
  • OzoneManagerProtocolClientSideTranslatorPB.java — PB translation
  • RpcClient.java — getBucketTagging, putBucketTagging, deleteBucketTagging with S3_BUCKET_TAGGING_API version gate
  • OzoneBucket.java — public client API
  • OzoneRpcClientTests.java integration tests:
    - testPutBucketTagging (overwrite semantics)
    - testGetBucketTagging
    - testDeleteBucketTagging
    - Parameterized across bucket layouts (LEGACY, FILE_SYSTEM_OPTIMIZED, OBJECT_STORE)
  1. nit:
    If we could introduce a base class for bucket tagging, or make delete request to derive put request.
    the duplication between ‎S3PutBucketTaggingRequest and ‎S3DeleteBucketTaggingRequest
    Discussion link

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-15511

How was this patch tested?

Added unit tests for 'OzoneRpcClientTests`.

@Gargi-jais11 Gargi-jais11 marked this pull request as ready for review June 17, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant