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

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 
[discussion|https://issues.apache.org/jira/browse/YARN-3047?focusedCommentId=14368563&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14368563]
 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). 
{quote}
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.
{quote}
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
(v6.3.4#6332)

Reply via email to