hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (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 Fri, 12 Jul 2013 18:07:49 GMT

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

Jing Zhao commented on HDFS-4926:

Hi Vivek,

   In NamenodeJspHelper#generateNodeData, before calling generateNodeDataHeader, the comment

       * 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.

   The original code shows the data transfer IP and port in the title, which should also be
some useful information. Thus I think maybe we do not need to use "hostName:http port" to
replace it.
> 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