[
https://issues.apache.org/jira/browse/YARN-4183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15146544#comment-15146544
]
Naganarasimha G R commented on YARN-4183:
-----------------------------------------
Hi [~jeagles],
Thanks for sharing your views, as i was mentioning in the
[comment|https://issues.apache.org/jira/browse/YARN-4183?focusedCommentId=14995432&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14995432],
replacing *TIMELINE_SERVICE_ENABLED* with *APPLICATION_HISTORY_ENABLED* will
not solve and in fact will introduce compatibility issues. So option was to
remove the check for *TIMELINE_SERVICE_ENABLED* which according to [~sjlee0]
was also *not* ideal and mentioned in his
[comment|https://issues.apache.org/jira/browse/YARN-4183?focusedCommentId=15004954&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15004954]
which after further discussion i too felt the same. Hence we concluded to
update the document and did the necessary correction. If you are ok then we can
go ahead or else if you have any other approaches we can discuss their pros &
cons.
> Enabling generic application history forces every job to get a timeline
> service delegation token
> ------------------------------------------------------------------------------------------------
>
> Key: YARN-4183
> URL: https://issues.apache.org/jira/browse/YARN-4183
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 2.7.1
> Reporter: Mit Desai
> Assignee: Naganarasimha G R
> Attachments: YARN-4183.1.patch, YARN-4183.v1.001.patch,
> YARN-4183.v1.002.patch
>
>
> When enabling just the Generic History Server and not the timeline server,
> the system metrics publisher will not publish the events to the timeline
> store as it checks if the timeline server and system metrics publisher are
> enabled before creating a timeline client.
> To make it work, if the timeline service flag is turned on, it will force
> every yarn application to get a delegation token.
> Instead of checking if timeline service is enabled, we should be checking if
> application history server is enabled.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)