[ https://issues.apache.org/jira/browse/YARN-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039274#comment-14039274 ]
Chris Trezzo commented on YARN-2168: ------------------------------------ Correct. They will be subtasks under YARN-1492. I agree reviewing at the api level is a good idea. I can re-post the patch with the PB implementation stripped out, then there will be a smaller patch with a clear view of the api. > 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 > > > 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)