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

Xiaoyu Yao commented on HDFS-11502:
-----------------------------------

Thanks [~jeffreyr97] and [~yuanbo] for working on the. The patch looks good to 
me. +1

> dn.js set datanode UI to window.location.hostname, it should use jmx bean 
> property to setup hostname
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-11502
>                 URL: https://issues.apache.org/jira/browse/HDFS-11502
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>    Affects Versions: 2.7.2, 2.7.3
>         Environment: all
>            Reporter: Jeffrey E  Rodriguez
>            Assignee: Jeffrey E  Rodriguez
>         Attachments: HDFS-11502.001.patch, HDFS-11502.002.patch, 
> HDFS-11502.003.patch, HDFS-11502.004.patch
>
>
> Datanode UI calls "dn.js" which loads properties for datanode.  "dn.js" sets 
> "data.dn.HostName" datanode UI to "window.location.hostname", it should use a 
> datanode property from jmx beans or an appropriate property. The issue is
> that if we use a proxy to access datanode UI we would show proxy hostanme 
> instead of actual datanode hostname.
> I am proposing using Hadoop:service=DataNode,name=JvmMetrics" tag.Hostname 
> field to do that.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to