[
https://issues.apache.org/jira/browse/HDFS-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14106445#comment-14106445
]
Arpit Agarwal edited comment on HDFS-6899 at 8/22/14 4:33 AM:
--------------------------------------------------------------
Yeah I updated the patch with an additional assert for the storageCapacities
subarray. The rest of the cases should all be covered already with asserts.
Thanks!
was (Author: arpitagarwal):
Yeah I added an additional assert for the storageCapacities subarray. The rest
of the cases should all be covered already with asserts. Thanks!
> Allow changing MiniDFSCluster volumes per DN and capacity per volume
> --------------------------------------------------------------------
>
> Key: HDFS-6899
> URL: https://issues.apache.org/jira/browse/HDFS-6899
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: datanode, test
> Affects Versions: 2.5.0
> Reporter: Arpit Agarwal
> Assignee: Arpit Agarwal
> Attachments: HDFS-6899.01.patch, HDFS-6899.02.patch,
> HDFS-6899.03.patch
>
>
> MiniDFSCluster hardcodes the number of directories per volume to two. Propose
> removing the hard-coded restriction.
> It would be useful to limit the capacity of individual storage directories
> for testing purposes. There is already a way to do so for SimulatedFSDataset,
> we can add one when using real volumes.
--
This message was sent by Atlassian JIRA
(v6.2#6252)