[ https://issues.apache.org/jira/browse/HDFS-11502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15898587#comment-15898587 ]
Jeffrey E Rodriguez commented on HDFS-11502: --------------------------------------------- Thanks I would do so > dn.js set datanode UI to window.location.hostname, it should use jmx > "qry=Hadoop:service=DataNode,name=RpcDetailedActivityForPort8010" to get > tag.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 > > 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. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org