[
https://issues.apache.org/jira/browse/MAPREDUCE-7038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16331985#comment-16331985
]
Rohith Sharma K S commented on MAPREDUCE-7038:
----------------------------------------------
It is done intentionally for secure login from configured hostname rather than
getting from localhost. In case of VIP machines, doing as per patch disregard
VIP address. This reverts YARN-1590, pls take a look at it.
> JHS uses service config to identify local hostname
> --------------------------------------------------
>
> Key: MAPREDUCE-7038
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7038
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: NITHIN MAHESH
> Priority: Major
> Attachments: MAPREDUCE-7038.patch
>
>
> In JobHistoryServer.doSecureLogin(), the local hostname is got by calling
> getBindAddress() which gets the hostname that is defined by the config
> yarn.mapreduce.jobhistory.address. This is a bug and doSecureLogin should
> just get local host name directly instead of this way.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]