[
https://issues.apache.org/jira/browse/HDDS-15908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18132814#comment-18132814
]
Chung-En Lee commented on HDDS-15908:
-------------------------------------
Hi [~nakumar], [~szetszwo],
I noticed that [HDDS-15942|https://issues.apache.org/jira/browse/HDDS-15942]
was created to remove Pair usage in `hadoop-hdds`, but there are no subtasks
created for `hadoop-ozone` yet.
Are there any existing plans for `hadoop-ozone`? If not, I'd be happy to create
subtasks and help take care of the remaining refactoring there.
> Disallow using Apache Commons Pair
> ----------------------------------
>
> Key: HDDS-15908
> URL: https://issues.apache.org/jira/browse/HDDS-15908
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Tsz-wo Sze
> Assignee: Navin Kumar
> Priority: Major
> Attachments: image-2026-07-18-12-01-27-484.png
>
>
> As Google suggested:
> {quote}Using the org.apache.commons.lang3.tuple.Pair class from Apache
> Commons Lang is generally discouraged in modern Java ...
> - Lack of semantics ...
> - Code smell (Primitive Obsession) ...
> - Unnecessary dependency ....{quote}
> !image-2026-07-18-12-01-27-484.png|width=600!
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]