[
https://issues.apache.org/jira/browse/HDFS-17329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17805581#comment-17805581
]
ASF GitHub Bot commented on HDFS-17329:
---------------------------------------
hfutatzhanghb commented on PR #6423:
URL: https://github.com/apache/hadoop/pull/6423#issuecomment-1887165293
@Hexiaoqiao @slfan1989 @zhangshuyan0 Sir, do you have time help me review
this PR? Thanks ahead.
> 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]