Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Incompatible change, Reviewed
-
FSVolume, is a part of FSDatasetInterface implementation, should not be referred outside FSDataset. A new FSVolumeInterface is defined. The BlockVolumeChoosingPolicy.chooseVolume(..) method signature is also updated.
Description
FSVolume is an inner class in FSDataset. It is actually a part of the implementation of FSDatasetInterface. It is better to define a new interface, namely FSVolumeInterface, to capture the abstraction.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-1120 Make DataNode's block-to-device placement policy pluggable
- Resolved