hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhallamudi Venkata Siva Kamesh (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-4040) History links should use hostname rather than IP address.
Date Tue, 20 Mar 2012 14:29:40 GMT
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

        

Mime
View raw message