You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Bhallamudi Venkata Siva Kamesh (Updated) (JIRA)" <ji...@apache.org> on 2012/03/21 06:41:42 UTC
[jira] [Updated] (MAPREDUCE-4040) History links should use hostname
rather than IP address.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bhallamudi Venkata Siva Kamesh updated MAPREDUCE-4040:
------------------------------------------------------
Attachment: MAPREDUCE-4040.patch
Pls review this patch
> History links should use hostname rather than IP address.
> ---------------------------------------------------------
>
> Key: MAPREDUCE-4040
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4040
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: jobhistoryserver, mrv2
> Affects Versions: 0.23.2
> Reporter: Bhallamudi Venkata Siva Kamesh
> Priority: Minor
> Attachments: MAPREDUCE-4040.patch
>
>
> While navigating from web page (eg: */cluster/app/<app-id>* ) to HS, browser displays IP address rather than hostname.
> {code:title=JobHistoryUtils.java|borderStyle=solid}
> if (address.getAddress().isAnyLocalAddress() ||
> address.getAddress().isLoopbackAddress()) {
> sb.append(InetAddress.getLocalHost().getHostAddress());
> }
> }
> {code}
> I *think* it is better to use hostname rather than IP address.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira