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.

Reply via email to