This is an automated email from the ASF dual-hosted git repository.

tasanuma pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new c255333  HDFS-14838. RBF: Display RPC (instead of HTTP) Port Number in 
RBF web UI. Contributed by Xieming Li
c255333 is described below

commit c255333e20c9af6166db5931d70151011d540359
Author: Takanobu Asanuma <[email protected]>
AuthorDate: Wed Sep 11 16:54:08 2019 +0900

    HDFS-14838. RBF: Display RPC (instead of HTTP) Port Number in RBF web UI. 
Contributed by Xieming Li
---
 .../org/apache/hadoop/hdfs/server/federation/metrics/RBFMetrics.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/metrics/RBFMetrics.java
 
b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/metrics/RBFMetrics.java
index 86599c7..c3d15cd 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/metrics/RBFMetrics.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/metrics/RBFMetrics.java
@@ -594,7 +594,7 @@ public class RBFMetrics implements RouterMBean, 
FederationMBean {
 
   @Override
   public String getHostAndPort() {
-    InetSocketAddress address = this.router.getHttpServerAddress();
+    InetSocketAddress address = this.router.getRpcServerAddress();
     if (address != null) {
       try {
         String hostname = InetAddress.getLocalHost().getHostName();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to