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

Zhijie Shen commented on YARN-979:
----------------------------------

I still have one question w.r.t. the annotations of the getter/setter of 
GetXXXXRequest/Response. Some of them are marked as \@Stable, and some are 
marked as \@Unstable. In addition, some setters are marked as \@Private, and 
some are marked as \@Public. Do you have special consideration here? Maybe we 
should mark all as \@Unstable for the initial AHS?

bq. I will create the jira for making applicationclientprotocol similar to 
applicationHistoryProtocol

Thanks for file the ticket.  Ideally, we'd like to have to paired 
ApplicationClientProtocol and ApplicationHistoryProtocol. Then YarnClient can 
implement to query running application/attempt/container from 
ApplicationClientProtocol and the finished from ApplicationHistoryProtocol, 
making it transparent to users.

> [YARN-321] Add more APIs related to ApplicationAttempt and Container in 
> ApplicationHistoryProtocol
> --------------------------------------------------------------------------------------------------
>
>                 Key: YARN-979
>                 URL: https://issues.apache.org/jira/browse/YARN-979
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Mayank Bansal
>            Assignee: Mayank Bansal
>         Attachments: YARN-979-1.patch, YARN-979-3.patch, YARN-979-4.patch, 
> YARN-979-5.patch, YARN-979.2.patch
>
>
> ApplicationHistoryProtocol should have the following APIs as well:
> * getApplicationAttemptReport
> * getApplicationAttempts
> * getContainerReport
> * getContainers
> The corresponding request and response classes need to be added as well.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to