Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.7.1
-
None
Description
DFSMiniCluster and several tests have hard coded assumption of the underlying storage having 2 data directories (volumes). As HDFS-9188 pointed out, with new FsDataset implementations, these hard coded assumption about number of data directories and raw capacities of storage may change as well.
We need to extend FsDatasetTestUtils to provide:
- Number of data directories of underlying storage per DataNode
- Raw storage capacity of underlying storage per DataNode.
- Have MiniDFSCluster automatically pick up the correct values.
Attachments
Attachments
Issue Links
- requires
-
HDFS-9188 Make block corruption related tests FsDataset-agnostic.
- Resolved