[
https://issues.apache.org/jira/browse/HDFS-17329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18024716#comment-18024716
]
ASF GitHub Bot commented on HDFS-17329:
---------------------------------------
github-actions[bot] closed pull request #6423: HDFS-17329.
DiskBalancerCluster#nodesToProcess should better use ArrayList.
URL: https://github.com/apache/hadoop/pull/6423
> DiskBalancerCluster#nodesToProcess should better use ArrayList
> --------------------------------------------------------------
>
> Key: HDFS-17329
> URL: https://issues.apache.org/jira/browse/HDFS-17329
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: diskbalancer
> Affects Versions: 3.3.6
> Reporter: farmmamba
> Assignee: farmmamba
> Priority: Trivial
> Labels: pull-request-available
>
> Currently, nodesToProcess uses LinkedList to store elements. But in
> computePlan method, we use code like below:
> {code:java}
> nodesToProcess.get(x); {code}
> So, we should better change LinkedList to ArrayList here.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]