[
https://issues.apache.org/jira/browse/HDFS-5741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13869279#comment-13869279
]
Tsz Wo (Nicholas), SZE commented on HDFS-5741:
----------------------------------------------
Since it is a private API, we may simply remove it without deprecating it.
> 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
> Priority: Minor
>
> 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)