[ 
https://issues.apache.org/jira/browse/HDFS-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-6899:
--------------------------------

    Attachment: HDFS-6899.03.patch

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)

Reply via email to