[
https://issues.apache.org/jira/browse/HDFS-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Srinivas updated HDFS-1669:
----------------------------------
Attachment: HDFS-1669.patch
The pattern of servlet usage is: Namenode fields the initial requests and then
redirects the requests to datanode. Datanode connects to the namenode using
DFSClient and provides the required information to the http clients.
In this patch, NN adds namenode client address in the URL params. This will be
used by the datanode to connect back to the namenode on the right RPC server.
> Datanode servlets need information about the namenode to service the request
> ----------------------------------------------------------------------------
>
> Key: HDFS-1669
> URL: https://issues.apache.org/jira/browse/HDFS-1669
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: data-node, name-node
> Affects Versions: Federation Branch
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
> Fix For: Federation Branch
>
> Attachments: HDFS-1669.patch
>
>
> Prior to federation datanode had only one namenode. In servlets hosted on
> datanode, a DFSClient was created to the only namenode to serve the request.
> However with federation datanode has multiple namenodes. When a request is
> redirected to a datanode, it does not know which namenode to use for
> servicing the request.
> This results in TestHftpFileSystem failure.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira