[
https://issues.apache.org/jira/browse/MAPREDUCE-5495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012981#comment-14012981
]
Zhijie Shen commented on MAPREDUCE-5495:
----------------------------------------
Instead of using the config, can we simply make use of
"InetAddress.getLocalHost().getHostName()" to get the host name when we bind
InetSocketAddress to 0.0.0.0?
> Make url in JobProfile work when set mapred.job.tracker to 0.0.0.0:<port>
> -------------------------------------------------------------------------
>
> Key: MAPREDUCE-5495
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5495
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: jobtracker
> Affects Versions: 1.1.2
> Reporter: zhaoyunjiong
> Assignee: zhaoyunjiong
> Priority: Minor
> Fix For: 1.1.3
>
> Attachments: MAPREDUCE-5495-branch-1.1.patch
>
>
> When there are multiple NICs and JobTracker need listen on all NICs, for
> example when set mapred.job.tracker to 0.0.0.0:8021, then
> getJobTrackerMachine() will return 0.0.0.0, it cause some problems, for
> example url in JobProfile won't work. Set this to a hostname can make it work.
--
This message was sent by Atlassian JIRA
(v6.2#6252)