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

Jing Zhao updated HDFS-6961:
----------------------------
    Attachment: HDFS-6961.003.patch

Thanks again for the review, Nicholas! The change in StorageType is to allow 
SSD is selected before DISK when choosing a storage from the writer's local 
node. But since the storage preference is not completely supported yet and 
archival storage can be handled without the change, we can defer the change in 
the future.

Upload a new patch which reverts that part of change. I will commit it shortly.

> Archival Storage: BlockPlacementPolicy#chooseTarget should check each valid 
> storage type in each choosing round
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-6961
>                 URL: https://issues.apache.org/jira/browse/HDFS-6961
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: balancer, namenode
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: HDFS-6961.000.patch, HDFS-6961.001.patch, 
> HDFS-6961.002.patch, HDFS-6961.002.patch, HDFS-6961.003.patch
>
>
> Currently in each choosing round of BlockPlacementPolicy#chooseTarget (e.g., 
> round 1 for choosing local storage, round 2 for remote rack, etc.), we only 
> take into account the first storage type in the storage type list. This may 
> fail to choose the local machine or sometimes may even fail to choose enough 
> nodes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to