You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Rohith Sharma K S (JIRA)" <ji...@apache.org> on 2018/01/19 09:27:00 UTC

[jira] [Commented] (YARN-7762) ATS uses timeline service config to identify local hostname

    [ https://issues.apache.org/jira/browse/YARN-7762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16331984#comment-16331984 ] 

Rohith Sharma K S commented on YARN-7762:
-----------------------------------------

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. 

> ATS uses timeline service config to identify local hostname
> -----------------------------------------------------------
>
>                 Key: YARN-7762
>                 URL: https://issues.apache.org/jira/browse/YARN-7762
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: NITHIN MAHESH
>            Priority: Major
>         Attachments: YARN-7762.patch
>
>
> In ApplicationHistoryServer.doSecureLogin(), the local hostname is got by calling getBindAddress() which gets the hostname that is defined by the config yarn.timeline-service.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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org