[
https://issues.apache.org/jira/browse/HDFS-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13790468#comment-13790468
]
Colin Patrick McCabe commented on HDFS-5304:
--------------------------------------------
I think the user-facing API you have now is fine.
I think it's silly to add complexity to the code to support to the RPC protocol
for non-disk-backed replicas at this point. If and when we support those, we
can add support then-- there will be nothing stopping us on the RPC level.
> Expose if a block replica is cached in getFileBlockLocations
> ------------------------------------------------------------
>
> Key: HDFS-5304
> URL: https://issues.apache.org/jira/browse/HDFS-5304
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Affects Versions: HDFS-4949
> Reporter: Andrew Wang
> Assignee: Andrew Wang
> Attachments: hdfs-5304-1.patch, hdfs-5304-2.patch
>
>
> We need to expose which replicas of a block are cached so applications can
> place their tasks for memory-locality.
--
This message was sent by Atlassian JIRA
(v6.1#6144)