hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6961) Archival Storage: BlockPlacementPolicy#chooseTarget should check each valid storage type in each choosing round
Date Thu, 04 Sep 2014 20:59:25 GMT

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

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

{code}
  public enum StorageType {
-  DISK,
   SSD,
+  DISK,
{code}
Is the change above needed?  If not, it is better not to switch the order since the code is
already in trunk.

+1 patch looks good other than that.

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

Mime
View raw message