@InterfaceAudience.Private
@InterfaceStability.Evolving
public class ClientProtocolService
extends org.apache.hadoop.service.AbstractService
implements org.apache.hadoop.yarn.api.ClientSCMProtocol
| Constructor and Description |
|---|
ClientProtocolService(SCMStore store) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.yarn.api.protocolrecords.ReleaseSharedCacheResourceResponse |
release(org.apache.hadoop.yarn.api.protocolrecords.ReleaseSharedCacheResourceRequest request) |
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
protected void |
serviceStart() |
protected void |
serviceStop() |
org.apache.hadoop.yarn.api.protocolrecords.UseSharedCacheResourceResponse |
use(org.apache.hadoop.yarn.api.protocolrecords.UseSharedCacheResourceRequest request) |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic ClientProtocolService(SCMStore store)
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStart()
throws Exception
serviceStart in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStop()
throws Exception
serviceStop in class org.apache.hadoop.service.AbstractServiceExceptionpublic org.apache.hadoop.yarn.api.protocolrecords.UseSharedCacheResourceResponse use(org.apache.hadoop.yarn.api.protocolrecords.UseSharedCacheResourceRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException
use in interface org.apache.hadoop.yarn.api.ClientSCMProtocolorg.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionpublic org.apache.hadoop.yarn.api.protocolrecords.ReleaseSharedCacheResourceResponse release(org.apache.hadoop.yarn.api.protocolrecords.ReleaseSharedCacheResourceRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException
release in interface org.apache.hadoop.yarn.api.ClientSCMProtocolorg.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionCopyright © 2008–2024 Apache Software Foundation. All rights reserved.