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 "Siddharth Seth (Commented) (JIRA)" <ji...@apache.org> on 2012/04/11 04:46:19 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13251261#comment-13251261 ] 

Siddharth Seth commented on MAPREDUCE-4040:
-------------------------------------------

+1. The patch looks good. Committing this. Thanks Bhallamudi
                
> 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