[ https://issues.apache.org/jira/browse/HDFS-11370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15847850#comment-15847850 ]
Manoj Govindassamy commented on HDFS-11370: ------------------------------------------- bq. maybe we can add a java doc for {{getExpectedStorageLocationsIterator}} explaining that the method is not thread-safe by itself. Sounds good to me. Thanks [~jingzhao]. > Optimize NamenodeFsck#getReplicaInfo > ------------------------------------ > > Key: HDFS-11370 > URL: https://issues.apache.org/jira/browse/HDFS-11370 > Project: Hadoop HDFS > Issue Type: Improvement > Components: namenode > Reporter: Takanobu Asanuma > Assignee: Takanobu Asanuma > Priority: Minor > Attachments: HDFS-11370.1.patch, HDFS-11370.2.patch, > HDFS-11370.3.patch, HDFS-11370.4.patch, HDFS-11370.5.patch > > > We can optimize the logic of calculating the number of storages in > {{NamenodeFsck#getReplicaInfo}}. This is a follow-on task of HDFS-11124. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org