Skip to content

Commit c255333

Browse files
committed
HDFS-14838. RBF: Display RPC (instead of HTTP) Port Number in RBF web UI. Contributed by Xieming Li
1 parent dacc448 commit c255333

File tree

1 file changed

+1
-1
lines changed
  • hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/metrics

1 file changed

+1
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/metrics/RBFMetrics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ public String getCompileInfo() {
594594

595595
@Override
596596
public String getHostAndPort() {
597-
InetSocketAddress address = this.router.getHttpServerAddress();
597+
InetSocketAddress address = this.router.getRpcServerAddress();
598598
if (address != null) {
599599
try {
600600
String hostname = InetAddress.getLocalHost().getHostName();

0 commit comments

Comments
 (0)