[
https://issues.apache.org/jira/browse/YARN-979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhijie Shen updated YARN-979:
-----------------------------
Attachment: YARN-979.2.patch
Based on [~mayank_bansal]'s initial patch, I addressed my previous comments and
created a new one. The major modifications are:
1. Polishing the javadoc
2. Defining the corresponding protos in application_history_client.proto,
yarn_protos.proto and yarn_service_protos.proto
3. Annotate the APIs where it is necessary
I've verified that patch can build correctly with branch YARN-321.
It is worth mentioning that I've created the empty ApplicationAttemptReport and
ContainerReport. They are client oriented. What fields should be put into these
two classes will be discussed in separate jiras.
In fact, ApplicationAttemptReport has been discussed in YARN-978. Similarly,
ContainerReport should be proposed as well because either Container and
RMContainer is the good class to be exposed to the client. Will open another
jira for it.
> [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: Zhijie Shen
> Attachments: YARN-979-1.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira