[
https://issues.apache.org/jira/browse/HDFS-17934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18089599#comment-18089599
]
ASF GitHub Bot commented on HDFS-17934:
---------------------------------------
kokonguyen191 commented on code in PR #8540:
URL: https://github.com/apache/hadoop/pull/8540#discussion_r3426918628
##########
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/metrics/RBFMetrics.java:
##########
@@ -379,6 +387,19 @@ public String getRouters() {
return JSON.toString(info);
}
+ private static String guessRouterWebAddress(String adminAddress, int
webPort) {
Review Comment:
Updated methods to remove guess naming. If we want fully correct per router
web address, router state store has to store those data (which currently it
does not). I think for a simple web UI improvement and for most deployments
with a consistent config for all routers in a cluster, this is a fair
compromise to arrive at
> Add router web address to router web UI
> ---------------------------------------
>
> Key: HDFS-17934
> URL: https://issues.apache.org/jira/browse/HDFS-17934
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs, rbf
> Reporter: Felix N
> Assignee: Felix N
> Priority: Minor
> Labels: pull-request-available
>
> In router web interface, there are clickable URLs for namenodes and
> datanodes, but none for routers.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]