HDFS-14838. RBF: Display RPC (instead of HTTP) Port Number in RBF web UI. Contributed by Xieming Li

This commit is contained in:
Takanobu Asanuma 2019-09-11 16:54:08 +09:00
parent dacc44821d
commit c255333e20

View File

@ -594,7 +594,7 @@ public String getCompileInfo() {
@Override
public String getHostAndPort() {
InetSocketAddress address = this.router.getHttpServerAddress();
InetSocketAddress address = this.router.getRpcServerAddress();
if (address != null) {
try {
String hostname = InetAddress.getLocalHost().getHostName();