hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6899) Allow changing MiniDFSCluster volumes per DN and capacity per volume
Date Thu, 21 Aug 2014 18:27:11 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14105728#comment-14105728
] 

Jing Zhao commented on HDFS-6899:
---------------------------------

Thanks for working on this, [~arpitagarwal]! The patch looks good to me. But do you think
it is possible to add a data field (long[][]) and corresponding setter in MiniDFSCluster which
allows users to set the capacity for each volume of each DataNode?

> 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
>
>
> 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)

Mime
View raw message