hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Modi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3488) AM get timeline service info from RM rather than Application specific configuration.
Date Fri, 08 Feb 2019 16:45:00 GMT

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

Abhishek Modi commented on YARN-3488:
-------------------------------------

Test passes locally.

[~rohithsharma] could you please review this patch. Thanks.

> AM get timeline service info from RM rather than Application specific configuration.
> ------------------------------------------------------------------------------------
>
>                 Key: YARN-3488
>                 URL: https://issues.apache.org/jira/browse/YARN-3488
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: applications
>            Reporter: Junping Du
>            Assignee: Abhishek Modi
>            Priority: Major
>              Labels: YARN-5355
>         Attachments: YARN-3488.001.patch, YARN-3488.002.patch, YARN-3488.003.patch
>
>
> Since v1 timeline service, we have MR configuration to enable/disable putting history
event to timeline service. For today's v2 timeline service ongoing effort, currently we have
different methods/structures between v1 and v2 for consuming TimelineClient, so application
have to be aware of which version timeline service get used there.
> There are basically two options here:
> First option is as current way in DistributedShell or MR to let application has specific
configuration to point out that if enabling ATS and which version could be, like: MRJobConfig.MAPREDUCE_JOB_EMIT_TIMELINE_DATA,
etc.
> The other option is to let application to figure out timeline related info from YARN/RM,
it can be done through registerApplicationMaster() in ApplicationMasterProtocol with return
value for service "off", "v1_on", or "v2_on".
> We prefer the latter option because application owner doesn't have to aware RM/YARN infrastructure
details. Please note that we should keep compatible (consistent behavior with the same setting)
with released configurations.



--
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


Mime
View raw message