You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Owen O'Malley (Jira)" <ji...@apache.org> on 2022/03/22 00:09:00 UTC

[jira] [Created] (HDFS-16517) In 2.10 the distance metric is wrong for non-DN machines

Owen O'Malley created HDFS-16517:
------------------------------------

             Summary: In 2.10 the distance metric is wrong for non-DN machines
                 Key: HDFS-16517
                 URL: https://issues.apache.org/jira/browse/HDFS-16517
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.10.1
            Reporter: Owen O'Malley
            Assignee: Owen O'Malley


In 2.10, the metric for distance between the client and the data node is wrong for machines that aren't running data nodes (ie. getWeightUsingNetworkLocation). The code works correctly in 3.3+.

Currently

 
||Client||DataNode ||getWeight||getWeightUsingNetworkLocation||
|/rack1/node1|/rack1/node1|0|0|
|/rack1/node1|/rack1/node2|2|2|
|/rack1/node1|/rack2/node2|4|2|
|/pod1/rack1/node1|/pod1/rack1/node2|2|2|
|/pod1/rack1/node1|/pod1/rack2/node2|4|2|
|/pod1/rack1/node1|/pod2/rack2/node2|6|4|

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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