[ https://issues.apache.org/jira/browse/HDFS-13248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394003#comment-16394003 ]
Weiwei Wu edited comment on HDFS-13248 at 3/10/18 3:58 AM: ----------------------------------------------------------- Do you mean clientMachine's IP? Take a look at [^clientMachine-call-path.jpeg] The clientMachine's IP is get from Server property InetAddress addr. I think we can get client's IP from clientName, but I'm not sure how to decode clientname. was (Author: wuweiwei): Do you mean clientMachine's IP? Take a look at [^clientMachine-call-path.jpeg] The clientMachine's IP is get from Server property InetAddress addr. I think we can get client's IP from clintName, but I'm not sure how to decode clientname. > RBF: namenode need to choose block location for the client > ---------------------------------------------------------- > > Key: HDFS-13248 > URL: https://issues.apache.org/jira/browse/HDFS-13248 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Weiwei Wu > Priority: Major > Attachments: clientMachine-call-path.jpeg, debug-info-1.jpeg, > debug-info-2.jpeg > > > When execute a put operation via router, the NameNode will choose block > location for the router, not for the real client. This will affect the file's > locality. > I think on both NameNode and Router, we should add a new addBlock method, or > add a parameter for the current addBlock method, to pass the real client > information. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org