hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11469) Ozone: SCM: Container allocation based on node report
Date Sat, 11 Mar 2017 22:59:04 GMT

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

Xiaoyu Yao commented on HDFS-11469:
-----------------------------------

bq. In the node placement SCMContainerPlacemenRandom.java:Line 66: Do we need to make a copy
of the lists, Same comment for capacity placement class.
 List<DatanodeID> candidates = new LinkedList<>(healthyNodes);

No, we don't need that. A new LinkedList is created with each of the healthy DatanodeID added
to the new list by the copy constructor. 


> Ozone: SCM: Container allocation based on node report
> -----------------------------------------------------
>
>                 Key: HDFS-11469
>                 URL: https://issues.apache.org/jira/browse/HDFS-11469
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: HDFS-7240
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>         Attachments: HDFS-11469-HDFS-7240.001.patch, HDFS-11469-HDFS-7240.002.patch
>
>
> The initial patch will make the datanode chosen policy for container creation pluggable.
It will add at least two built-in policies: 
> 1. random (existing)
> 2. utilization of the storage on different data nodes. 
> Additional policy based on  
> 3. storage type, etc. will be added separately. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message