Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.21.0
-
None
-
None
-
Reviewed
Description
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.
Attachments
Attachments
Issue Links
- blocks
-
HDFS-616 Create functional tests for new design of the block report
- Closed