@InterfaceAudience.Private
@InterfaceStability.Unstable
public class SCMAdminProtocolService
extends org.apache.hadoop.service.AbstractService
implements org.apache.hadoop.yarn.server.api.SCMAdminProtocol
Constructor and Description |
---|
SCMAdminProtocolService(CleanerService cleanerService) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.server.api.protocolrecords.RunSharedCacheCleanerTaskResponse |
runCleanerTask(org.apache.hadoop.yarn.server.api.protocolrecords.RunSharedCacheCleanerTaskRequest request) |
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
protected void |
serviceStart() |
protected void |
serviceStop() |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
public SCMAdminProtocolService(CleanerService cleanerService)
protected void serviceInit(org.apache.hadoop.conf.Configuration conf) throws Exception
serviceInit
in class org.apache.hadoop.service.AbstractService
Exception
protected void serviceStart() throws Exception
serviceStart
in class org.apache.hadoop.service.AbstractService
Exception
protected void serviceStop() throws Exception
serviceStop
in class org.apache.hadoop.service.AbstractService
Exception
public org.apache.hadoop.yarn.server.api.protocolrecords.RunSharedCacheCleanerTaskResponse runCleanerTask(org.apache.hadoop.yarn.server.api.protocolrecords.RunSharedCacheCleanerTaskRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
runCleanerTask
in interface org.apache.hadoop.yarn.server.api.SCMAdminProtocol
org.apache.hadoop.yarn.exceptions.YarnException
Copyright © 2018 Apache Software Foundation. All Rights Reserved.