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

Tsz Wo Nicholas Sze commented on HDFS-6878:
-------------------------------------------

I think we need a two dimension array for storageTypes.  Otherwise, all 
datanodes must have the same directory storage type layout.  We cannot test the 
some cases such as
-  5 datanode cluster: one has only DISK storage, one has only ARCHiVE storage 
and the rest 3 has combination of  DISK and ARCHIVE storage.

> Change MiniDFSCluster to support StorageType configuration for individual 
> directories
> -------------------------------------------------------------------------------------
>
>                 Key: HDFS-6878
>                 URL: https://issues.apache.org/jira/browse/HDFS-6878
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: test
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Arpit Agarwal
>            Priority: Minor
>         Attachments: HDFS-6878.01.patch
>
>
> Currently, MiniDFSCluster only supports a single StorageType configuration 
> for all datadnodes, i.e. setting all directories in all datanodes to one 
> StorageType.  It should support setting individual StorageType for each 
> directory in each datanode.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to