[ https://issues.apache.org/jira/browse/HDFS-5741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arpit Agarwal updated HDFS-5741: -------------------------------- Description: NN now tracks replicas by storage, so {{BlockInfo#findDataNode}} can be replaced with {{BlockInfo#findStorageInfo}}. {{BlockManager#reportDiff}} is being fixed as part of HDFS-5483, this Jira is to fix the rest of the callers. [suggested by [~sirianni] on HDFS-5483] was:{{BlockInfo#findDataNode}} can be replaced with {{BlockInfo#findStorageInfo}} everywhere else except in {{#addStorage}}. > BlockInfo#findDataNode can be deprecated > ---------------------------------------- > > Key: HDFS-5741 > URL: https://issues.apache.org/jira/browse/HDFS-5741 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 3.0.0, 2.4.0 > Reporter: Arpit Agarwal > Assignee: Arpit Agarwal > > NN now tracks replicas by storage, so {{BlockInfo#findDataNode}} can be > replaced with {{BlockInfo#findStorageInfo}}. > {{BlockManager#reportDiff}} is being fixed as part of HDFS-5483, this Jira is > to fix the rest of the callers. > [suggested by [~sirianni] on HDFS-5483] -- This message was sent by Atlassian JIRA (v6.1.5#6160)