[ https://issues.apache.org/jira/browse/YARN-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Trezzo updated YARN-2168: ------------------------------- Attachment: YARN-2168-trunk-v2.patch As per [~vinodkv]'s suggestion: Attached is a v2 patch of the API with just the abstract API classes (i.e. no implementation). > 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 > > > Define and implement the following protocols and protocol messages using > protobufs: > * 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)