Naganarasimha G R commented on YARN-4343:

Hi [~sjlee0], 
I think we need to have *"yarn-2928-1st-milestone"* label for this too. As 
YARNClientImpl tries to search the apps(attempts & Container details) from ATS 
if its not present in RM. for CLI and AppReportFetcher tries to get the 
appliction report from ATS for Webservice.So without this i feel its break in 
functionality so i think for ATS v2 too we need to support it 

Coming to discussion about the approach, i had offline discussion with 
[~varun_saxena] and he said that as per the 
 with [~zjshen] in YARN-3047, RPC need not be supported and it can be supported 
at client side for ATSV2 (have a timelineclient get the timeline entities and 
convert it into report objects). 
For some legacy problem. AHS exposes RPC interface. However, IMHO, we don't 
need to create the RPC interface again in v2 as we're building the new system 
from the ground. What we can do is to wrap over the REST APIs in the java 
client, and provide YARN CLI commands.
May be i can have some kind of factory and instantiate the client based on the 
configurations and try to do it, but little doubt full on the dependcies part. 
Let me give a try.

> Need to support Application History Server on ATSV2
> ---------------------------------------------------
>                 Key: YARN-4343
>                 URL: https://issues.apache.org/jira/browse/YARN-4343
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Naganarasimha G R
>            Assignee: Naganarasimha G R
> AHS is used by the CLI and Webproxy(REST), if the application related 
> information is not found in RM then it tries to fetch from AHS and show

This message was sent by Atlassian JIRA

Reply via email to