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

Fei Hui commented on HDFS-13293:
--------------------------------

[~elgoiri] ClientProtocol code about addBlock is following
{code:java}
  LocatedBlock addBlock(String src, String clientName,
      ExtendedBlock previous, DatanodeInfo[] excludeNodes, long fileId,
      String[] favoredNodes, EnumSet<AddBlockFlag> addBlockFlags)
      throws IOException;
{code}
Maybe RBF can resolve hdfs locality with the favoredNodes parameter.


> RBF: The RouterRPCServer should transfer CallerContext and client ip to 
> NamenodeRpcServer
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-13293
>                 URL: https://issues.apache.org/jira/browse/HDFS-13293
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: maobaolong
>            Assignee: Fei Hui
>            Priority: Major
>         Attachments: HDFS-13293.001.patch
>
>
> Otherwise, the namenode don't know the client's callerContext



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to