[ https://issues.apache.org/jira/browse/MAPREDUCE-4040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251273#comment-13251273 ]
Hudson commented on MAPREDUCE-4040: ----------------------------------- Integrated in Hadoop-Common-trunk-Commit #2049 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2049/]) MAPREDUCE-4040. History links should use hostname rather than IP address. (Contributed by Bhallamudi Venkata Siva Kamesh) (Revision 1312076) Result = SUCCESS sseth : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1312076 Files : * /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt * /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/v2/jobhistory/JobHistoryUtils.java > 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 > Assignee: Bhallamudi Venkata Siva Kamesh > Priority: Minor > Fix For: 0.23.3 > > 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