[ 
https://issues.apache.org/jira/browse/HDFS-5903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinayakumar B updated HDFS-5903:
--------------------------------
    Resolution: Invalid
        Status: Resolved  (was: Patch Available)

This part of the code is no longer present.

> FSVolumeList#initializeReplicaMaps(..) not doing anything, it can be removed
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-5903
>                 URL: https://issues.apache.org/jira/browse/HDFS-5903
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>            Priority: Minor
>         Attachments: HDFS-5903.patch, HDFS-5903.patch
>
>
> {code}  void initializeReplicaMaps(ReplicaMap globalReplicaMap) throws 
> IOException {
>     for (FsVolumeImpl v : volumes) {
>       v.getVolumeMap(globalReplicaMap);
>     }
>   }{code}
> This method has been called at the time of initialization even before the 
> blockpools are added. So its useless to call this method.
> Anyway replica map will be updated for each of the blockpool during 
> {{addBlockPool(..)}} by calling {{FSVolumesList#getAllVolumesMap(..)}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to