Zhijie Shen commented on YARN-2375:

bq. Do you mean that we should not check for TIMELINE_SERVICE_ENABLED flag in 
the Application Master and rather have it work same way that it was doing 
before and only check that flag while sending data to timeline server?

I think the logic could be: when TIMELINE_SERVICE_ENABLED == true, read the 
domain env var and construct the timeline client. Only if the timeline client 
is not null, the AM will send the data to timeline server where it should do it.

> Allow enabling/disabling timeline server per framework
> ------------------------------------------------------
>                 Key: YARN-2375
>                 URL: https://issues.apache.org/jira/browse/YARN-2375
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jonathan Eagles
>            Assignee: Mit Desai
>         Attachments: YARN-2375.patch, YARN-2375.patch
> This JIRA is to remove the ats enabled flag check within the 
> TimelineClientImpl. Example where this fails is below.
> While running secure timeline server with ats flag set to disabled on 
> resource manager, Timeline delegation token renewer throws an NPE. 

This message was sent by Atlassian JIRA

Reply via email to