You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Bhallamudi Venkata Siva Kamesh (Created) (JIRA)" <ji...@apache.org> on 2012/03/20 15:29:40 UTC

[jira] [Created] (MAPREDUCE-4040) History links should use hostname rather than IP address.

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


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