@InterfaceAudience.Public
@InterfaceStability.Unstable
public interface SCMAdminProtocol
The protocol between administrators and the SharedCacheManager
Modifier and Type | Method and Description |
---|---|
RunSharedCacheCleanerTaskResponse |
runCleanerTask(RunSharedCacheCleanerTaskRequest request)
The method used by administrators to ask SCM to run cleaner task right away
|
@InterfaceAudience.Public @InterfaceStability.Unstable RunSharedCacheCleanerTaskResponse runCleanerTask(RunSharedCacheCleanerTaskRequest request) throws YarnException, IOException
The method used by administrators to ask SCM to run cleaner task right away
request
- request SharedCacheManager
to run a cleaner taskSharedCacheManager
returns an empty response
on success and throws an exception on rejecting the requestYarnException
IOException
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.