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

Rohith commented on YARN-3543:
------------------------------

bq. But doesn't impact compatibility?
I meant to say ApplicationReport.newInstance() is called from out side of YARN. 
Ex : In MR, NotRunningJob#getUnknownApplicationReport. Similarly, if any other 
yarn clients using for ApplicationReport.newInstance, it would cause 
compatibility issue.  So I just provided setters and getters for UnmanagedApp.

> ApplicationReport should be able to tell whether the Application is AM 
> managed or not. 
> ---------------------------------------------------------------------------------------
>
>                 Key: YARN-3543
>                 URL: https://issues.apache.org/jira/browse/YARN-3543
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: api
>    Affects Versions: 2.6.0
>            Reporter: Spandan Dutta
>            Assignee: Rohith
>              Labels: BB2015-05-TBR
>         Attachments: 0001-YARN-3543.patch, 0001-YARN-3543.patch, 
> 0002-YARN-3543.patch, 0002-YARN-3543.patch, 0003-YARN-3543.patch, 
> 0003-YARN-3543.patch, YARN-3543-AH.PNG, YARN-3543-RM.PNG
>
>
> Currently we can know whether the application submitted by the user is AM 
> managed from the applicationSubmissionContext. This can be only done  at the 
> time when the user submits the job. We should have access to this info from 
> the ApplicationReport as well so that we can check whether an app is AM 
> managed or not anytime.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to