public class CsiAdaptorProtocolService
extends org.apache.hadoop.service.AbstractService
implements org.apache.hadoop.yarn.api.CsiAdaptorProtocol
| Constructor and Description | 
|---|
| CsiAdaptorProtocolService(org.apache.hadoop.yarn.api.CsiAdaptorPlugin adaptorImpl) | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords.GetPluginInfoResponse | getPluginInfo(org.apache.hadoop.yarn.api.protocolrecords.GetPluginInfoRequest request) | 
| org.apache.hadoop.yarn.api.protocolrecords.NodePublishVolumeResponse | nodePublishVolume(org.apache.hadoop.yarn.api.protocolrecords.NodePublishVolumeRequest request) | 
| org.apache.hadoop.yarn.api.protocolrecords.NodeUnpublishVolumeResponse | nodeUnpublishVolume(org.apache.hadoop.yarn.api.protocolrecords.NodeUnpublishVolumeRequest request) | 
| protected void | serviceInit(org.apache.hadoop.conf.Configuration conf) | 
| protected void | serviceStart() | 
| protected void | serviceStop() | 
| org.apache.hadoop.yarn.api.protocolrecords.ValidateVolumeCapabilitiesResponse | validateVolumeCapacity(org.apache.hadoop.yarn.api.protocolrecords.ValidateVolumeCapabilitiesRequest request) | 
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic CsiAdaptorProtocolService(org.apache.hadoop.yarn.api.CsiAdaptorPlugin adaptorImpl)
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.GetPluginInfoResponse getPluginInfo(org.apache.hadoop.yarn.api.protocolrecords.GetPluginInfoRequest request)
                                                                               throws org.apache.hadoop.yarn.exceptions.YarnException,
                                                                                      IOException
getPluginInfo in interface org.apache.hadoop.yarn.api.CsiAdaptorProtocolorg.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionpublic org.apache.hadoop.yarn.api.protocolrecords.ValidateVolumeCapabilitiesResponse validateVolumeCapacity(org.apache.hadoop.yarn.api.protocolrecords.ValidateVolumeCapabilitiesRequest request)
                                                                                                     throws org.apache.hadoop.yarn.exceptions.YarnException,
                                                                                                            IOException
validateVolumeCapacity in interface org.apache.hadoop.yarn.api.CsiAdaptorProtocolorg.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionpublic org.apache.hadoop.yarn.api.protocolrecords.NodePublishVolumeResponse nodePublishVolume(org.apache.hadoop.yarn.api.protocolrecords.NodePublishVolumeRequest request)
                                                                                       throws org.apache.hadoop.yarn.exceptions.YarnException,
                                                                                              IOException
nodePublishVolume in interface org.apache.hadoop.yarn.api.CsiAdaptorProtocolorg.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionpublic org.apache.hadoop.yarn.api.protocolrecords.NodeUnpublishVolumeResponse nodeUnpublishVolume(org.apache.hadoop.yarn.api.protocolrecords.NodeUnpublishVolumeRequest request)
                                                                                           throws org.apache.hadoop.yarn.exceptions.YarnException,
                                                                                                  IOException
nodeUnpublishVolume in interface org.apache.hadoop.yarn.api.CsiAdaptorProtocolorg.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.