hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11502) Datanode UI should display hostname based on JMX bean instead of window.location.hostname
Date Thu, 13 Jul 2017 00:27:00 GMT

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

Hudson commented on HDFS-11502:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11997 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11997/])
HDFS-11502. Datanode UI should display hostname based on JMX bean (xyao: rev e15e2713e1e344b14d63726639d1c83451921515)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNodeMXBean.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/datanode/dn.js
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeMXBean.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java


> Datanode UI should display hostname based on JMX bean instead of window.location.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.9.0, 3.0.0-beta1, 2.8.2
>
>         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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message