Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.23.2
-
None
-
Reviewed
Description
While navigating from web page (eg: /cluster/app/<app-id> ) to HS, browser displays IP address rather than hostname.
JobHistoryUtils.java
if (address.getAddress().isAnyLocalAddress() ||
address.getAddress().isLoopbackAddress()) {
sb.append(InetAddress.getLocalHost().getHostAddress());
}
}
I think it is better to use hostname rather than IP address.