[
https://issues.apache.org/jira/browse/HDFS-11502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeffrey E Rodriguez updated HDFS-11502:
----------------------------------------
Description:
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.
was:
Datanode UI calls dn.js which loads properties for datanode..
dn.js sets datanode UI to window.location.hostname, it should use jmx
"qry=Hadoop:service=DataNode,name=RpcDetailedActivityForPort8010" to get
tag.hostname.
The issue is that if we proxy datanode UI we would get the proxy as the
hostname because UI code uses window.location.hostname instead of the actual
datanode hostname.
> 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
> Fix For: 2.8.0, 2.7.3, 3.0.0-alpha1, 3.0.0-alpha2
>
> Attachments: HDFS-11502.001.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.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]