[
https://issues.apache.org/jira/browse/YARN-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800448#comment-13800448
]
Zhijie Shen commented on YARN-925:
----------------------------------
BTW, getAllApplications(...) might trouble the cache implementation as well.
I'm not sure what the implementation the cache will be, but let's say if
application 1 - 3 are cached, and getAllApplications(...) is supposed to
retrieve application 1 - 5, what should cache do? If cache is touched only, the
user will miss two 2 applications; If we resort to history store, we will get
all the applications, but we lose change to make use of the cache for
application 1 - 3. Importantly, before we touch the history store, we don't
know what application is missing in the cache.
> HistoryStorage Reader Interface for Application History Server
> --------------------------------------------------------------
>
> Key: YARN-925
> URL: https://issues.apache.org/jira/browse/YARN-925
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Mayank Bansal
> Assignee: Mayank Bansal
> Fix For: YARN-321
>
> Attachments: YARN-925-1.patch, YARN-925-2.patch, YARN-925-3.patch,
> YARN-925-4.patch, YARN-925-5.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)