Ajay Kumar commented on HDFS-13433:

[~arpitagarwal] thanks for finding this bug and submitting the patch. LGTM. One 
minor comment to improve log message.

Namenode#NameNode L928 , Shall we modify log statement to "Clients will use" 
instead of  "Clients are to use"

> webhdfs requests can be routed incorrectly in federated cluster
> ---------------------------------------------------------------
>                 Key: HDFS-13433
>                 URL: https://issues.apache.org/jira/browse/HDFS-13433
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>            Priority: Critical
>         Attachments: HDFS-13433.01.patch, HDFS-13433.02.patch, 
> HDFS-13433.03.patch
> In the following HA+Federated setup with two nameservices ns1 and ns2:
> # ns1 -> namenodes nn1, nn2
> # ns2 -> namenodes nn3, nn4
> # fs.defaultFS is {{hdfs://ns1}}.
> A webhdfs request issued to nn3/nn4 will be routed to ns1. This is because 
> {{setClientNamenodeAddress}} initializes {{NameNode#clientNamenodeAddress}} 
> using fs.defaultFS before the config is overriden.

This message was sent by Atlassian JIRA

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