You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Chia-Chuan Yu (Jira)" <ji...@apache.org> on 2025/04/10 10:56:00 UTC
[jira] [Updated] (HDDS-12504) Revisit the usage of RandomStringUtils to replace the depreciated functions
[ https://issues.apache.org/jira/browse/HDDS-12504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Chuan Yu updated HDDS-12504:
---------------------------------
Description:
Among the code base we can see there're many usage of *RandomStringUtils* , can see : https://github.com/apache/ozone/blob/691383526a90f488ffa0d6e05daaeb9eb7e12f4c/hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/endpoint/TestObjectHead.java#L71
however, many of the methods in *RandomStringUtils* are depreciated, can be check [here|https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/RandomStringUtils.html] we should replace it with the available ones.
was:Among the code base we can see there're many usage of *RandomStringUtils* , can see [here|[https://github.com/apache/ozone/blob/d95ca4c44e2a1110c3e8619d458961a2e63f2dfc/hadoop-hdds/common/src/test/java/org/apache/hadoop/ozone/common/TestChecksum.java#L55],] however, many of the methods in *RandomStringUtils* are depreciated, can be check [here|https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/RandomStringUtils.html] we should replace it with the available ones.
> Revisit the usage of RandomStringUtils to replace the depreciated functions
> ---------------------------------------------------------------------------
>
> Key: HDDS-12504
> URL: https://issues.apache.org/jira/browse/HDDS-12504
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Chia-Chuan Yu
> Assignee: Chia-Chuan Yu
> Priority: Minor
>
> Among the code base we can see there're many usage of *RandomStringUtils* , can see : https://github.com/apache/ozone/blob/691383526a90f488ffa0d6e05daaeb9eb7e12f4c/hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/endpoint/TestObjectHead.java#L71
> however, many of the methods in *RandomStringUtils* are depreciated, can be check [here|https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/RandomStringUtils.html] we should replace it with the available ones.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org