farmmamba created HDFS-17149:
--------------------------------

             Summary: getBlockLocations RPC should use actual client ip to 
compute network distance when using RBF.
                 Key: HDFS-17149
                 URL: https://issues.apache.org/jira/browse/HDFS-17149
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: namanode
    Affects Versions: 3.4.0
            Reporter: farmmamba


Please correct me if i understand wrongly. Thanks.

Currently, when a getBlockLocations RPC forwards to namenode via router.  
NameNode will use router ip address as client machine to compute network 
distance against block's locations. See FSNamesystem#sortLocatedBlocksMore 
method for more detailed information.  

I think this compute method is not correct and should use actual client ip.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to