hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vivek Ganesan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4926) namenode webserver's page has a tooltip that is inconsistent with the datanode HTML link
Date Tue, 16 Jul 2013 13:22:50 GMT

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

Vivek Ganesan commented on HDFS-4926:

Hi Jing,

This idea looks great!

...instead of adding two columns here, can we only add one column for "d.getHost():d.port()",
i.e., the information originally shown in title, and clearly stating that this is the DN's
transferring address? Then for title we can make it consistent with the real URL (hostName
+ http port).

I will add one new column with the following properties and shift the hyperlink to that new

* Column Header: URL(Open for suggestions if anything.  For now, using the string "URL")

* The text in the cell (a hyperlink) will be in accordance with the following quote:
       * Say the datanode is dn1.hadoop.apache.org with ip we use:
       * 1) d.getHostName():d.getPort() to display. Domain and port are stripped
       *    if they are common across the nodes. i.e. "dn1"
       * 2) d.getHost():d.Port() for "title". i.e. ""
       * 3) d.getHostName():d.getInfoPort() for url.
       *    i.e. "http://dn1.hadoop.apache.org:50075/..."
       * Note that "d.getHost():d.getPort()" is what DFS clients use to
       * interact with datanodes.

* Title (or tooltip) : Same as hyperlink content

> namenode webserver's page has a tooltip that is inconsistent with the datanode HTML link
> ----------------------------------------------------------------------------------------
>                 Key: HDFS-4926
>                 URL: https://issues.apache.org/jira/browse/HDFS-4926
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Joseph Lorenzini
>            Assignee: Vivek Ganesan
>            Priority: Trivial
>         Attachments: hdfs-4926.patch
> At http://localhost:50070/dfsnodelist.jsp?whatNodes=LIVE, there is a list of Live datanodes
in a table.  In the Node column, there is a link to each node. If you hover your cursor over
one of the links, it shows the IP address and port number of the datanode. However, actual
link is the hostname instead of the IP. 
> Suggest that the tooltip reflect the actual url that the web browser would go to if the
link is selected.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message