You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Benoy Antony (JIRA)" <ji...@apache.org> on 2013/12/12 21:37:07 UTC

[jira] [Updated] (HDFS-5661) Browsing FileSystem via web ui, should use datanode's hostname instead of ip address

     [ https://issues.apache.org/jira/browse/HDFS-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoy Antony updated HDFS-5661:
-------------------------------

    Attachment: HDFS-5661.patch

Use hostname when generating the URL for the datanode

> Browsing FileSystem via web ui, should use datanode's hostname instead of ip address
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-5661
>                 URL: https://issues.apache.org/jira/browse/HDFS-5661
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>         Attachments: HDFS-5661.patch
>
>
> If authentication is enabled on the web ui, then a cookie is used to keep track of the authentication information. There is normally a domain associated with the cookie. Since ip address doesn't have any domain , the cookie will not be sent by the browser while making http calls with ip address as the destination server.
> This will break browsing files system via web ui , if authentication is enabled.
> Browsing FileSystem via web ui, should use datanode's hostname instead of ip address. 



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)