You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Uma Maheswara Rao G (Commented) (JIRA)" <ji...@apache.org> on 2012/03/10 05:13:02 UTC

[jira] [Commented] (HDFS-1512) BlockSender calls deprecated method getReplica

    [ https://issues.apache.org/jira/browse/HDFS-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226744#comment-13226744 ] 

Uma Maheswara Rao G commented on HDFS-1512:
-------------------------------------------

comments for the patch:
 HDFS-2862 idea is, DN classes should not invoke the APIs directly from FSDataSet. Now, in your Patch directly casting it to FSDataSet and calling the apis.This will break the 2862 contract. So, we may need to add the interface method in FSDatasetInterface.?

@Nicholas, since you are the Author for HDFS-2862,  could you please comment on this point?
                
> BlockSender calls deprecated method getReplica
> ----------------------------------------------
>
>                 Key: HDFS-1512
>                 URL: https://issues.apache.org/jira/browse/HDFS-1512
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: data-node
>            Reporter: Eli Collins
>            Assignee: Amin Bandeali
>              Labels: newbie
>         Attachments: HDFS-1512.patch, HDFS-1512.patch
>
>
> HDFS-680 deprecated FSDatasetInterface#getReplica, however it is still used by BlockSender which still maintains a Replica member.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira