You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2009/10/07 02:11:31 UTC

[jira] Created: (HDFS-680) Add new access method to a copy of a block's replica

Add new access method to a copy of a block's replica
----------------------------------------------------

                 Key: HDFS-680
                 URL: https://issues.apache.org/jira/browse/HDFS-680
             Project: Hadoop HDFS
          Issue Type: Improvement
    Affects Versions: 0.21.0
            Reporter: Konstantin Boudnik
            Assignee: Konstantin Boudnik
             Fix For: 0.21.0


Sometimes tests (and perhaps other client applications) might need an access to the state of a block's replica.
Currently it is accessible through  {{FSDataset}} member of {{DataNode}} class. However, {{FSDataset}} is an internal matter of {{DataNode}} and shouldn't be available externally.

This JIRA will provide new getter method which will be returning a copy of a block's replica instead of a reference to an actual replica. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.