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

Chris Trezzo commented on YARN-2168:
------------------------------------

A note about the current use API: Internally we discussed about providing a 
batch api for ClientSCMProtocol.use calls, but decided that we could provide 
this as a follow on addition. In practice it has not been a problem yet, but we 
can see there potentially being a large number of use requests. This is 
something that is definitely on the roadmap.

> SCM/Client/NM/Admin protocols
> -----------------------------
>
>                 Key: YARN-2168
>                 URL: https://issues.apache.org/jira/browse/YARN-2168
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Chris Trezzo
>            Assignee: Chris Trezzo
>         Attachments: YARN-2168-trunk-v1.patch, YARN-2168-trunk-v2.patch
>
>
> This jira is meant to be used to review the main shared cache APIs. They are 
> as follows:
> * ClientSCMProtocol - The protocol between the yarn client and the cache 
> manager. This protocol controls how resources in the cache are claimed and 
> released.
> ** UseSharedCacheResourceRequest
> ** UseSharedCacheResourceResponse
> ** ReleaseSharedCacheResourceRequest
> ** ReleaseSharedCacheResourceResponse
> * SCMAdminProtocol - This is an administrative protocol for the cache 
> manager. It allows administrators to manually trigger cleaner runs.
> ** RunSharedCacheCleanerTaskRequest
> ** RunSharedCacheCleanerTaskResponse
> * NMCacheUploaderSCMProtocol - The protocol between the NodeManager and the 
> cache manager. This allows the NodeManager to coordinate with the cache 
> manager when uploading new resources to the shared cache.
> ** NotifySCMRequest
> ** NotifySCMResponse



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to