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

Vivek Ganesan commented on HDFS-4926:
-------------------------------------

Hi Jing,

I agree that we were showing some extra useful information in the original code 
by displaying IP:dataTransferPort.

Thus, we have two view points here.

  1. Tool tip should be consistent with the HTML link (viewpoint of issue 
reporter)
  2. It's okay to provide supplementary useful information in tool tip (your 
view point)

At this point, I would like to (+1) the point (2) above, since we are not 
displaying the data transfer port/ip in any other place in the page.

Another modification I can think of is as follows: [Let's call it view point 
number (3) in addition to (1) and (2) above]
   1. Add new column to show data transfer port
   2. Add new column to show http port
   3. Change the tooltip of link to show ip address only.  

The rationale behind this modifiation is, when a user sees a host name (link) 
in the table and wants to identify the node's rack (assuming, rack can be 
derived from ip address, which mostly is the case), our tool tip can be the 
first point of information by displaying the ip address corresponding to the 
host name.  Also, for knowing which port the HDFS clients have to connect to, 
the user can refer to the extra column which we add in the table.

Any additional comments are welcome.
                
> 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

Reply via email to