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

He Xiaoqiao commented on HDFS-9149:
-----------------------------------

Thanks, [~He Tianyi].

it's not a good solution exactly. maybe we could calculate weight recursively? 
or any better suggestion?

There is another kind of situation. it is hard to calc weight between reader 
and DN where reader are not one node of Hadoop Cluster but in the same IDC with 
part of cluster.

> Consider multi datacenter when sortByDistance
> ---------------------------------------------
>
>                 Key: HDFS-9149
>                 URL: https://issues.apache.org/jira/browse/HDFS-9149
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: He Xiaoqiao
>            Assignee: He Tianyi
>
> {{sortByDistance}} doesn't consider multi-datacenter when read data, so there 
> my be reading data via other datacenter when hadoop deployment with multi-IDC.



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

Reply via email to