java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Service, org.apache.hadoop.yarn.api.CsiAdaptorProtocolpublic class CsiAdaptorProtocolService
extends org.apache.hadoop.service.AbstractService
implements org.apache.hadoop.yarn.api.CsiAdaptorProtocol
| Constructor | Description |
|---|---|
CsiAdaptorProtocolService(org.apache.hadoop.yarn.api.CsiAdaptorPlugin adaptorImpl) |
| Modifier and Type | Method | 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 java.lang.Exception
serviceInit in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionprotected void serviceStart()
throws java.lang.Exception
serviceStart in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionprotected void serviceStop()
throws java.lang.Exception
serviceStop in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionpublic org.apache.hadoop.yarn.api.protocolrecords.GetPluginInfoResponse getPluginInfo(org.apache.hadoop.yarn.api.protocolrecords.GetPluginInfoRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException,
java.io.IOException
getPluginInfo in interface org.apache.hadoop.yarn.api.CsiAdaptorProtocolorg.apache.hadoop.yarn.exceptions.YarnExceptionjava.io.IOExceptionpublic org.apache.hadoop.yarn.api.protocolrecords.ValidateVolumeCapabilitiesResponse validateVolumeCapacity(org.apache.hadoop.yarn.api.protocolrecords.ValidateVolumeCapabilitiesRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException,
java.io.IOException
validateVolumeCapacity in interface org.apache.hadoop.yarn.api.CsiAdaptorProtocolorg.apache.hadoop.yarn.exceptions.YarnExceptionjava.io.IOExceptionpublic org.apache.hadoop.yarn.api.protocolrecords.NodePublishVolumeResponse nodePublishVolume(org.apache.hadoop.yarn.api.protocolrecords.NodePublishVolumeRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException,
java.io.IOException
nodePublishVolume in interface org.apache.hadoop.yarn.api.CsiAdaptorProtocolorg.apache.hadoop.yarn.exceptions.YarnExceptionjava.io.IOExceptionpublic org.apache.hadoop.yarn.api.protocolrecords.NodeUnpublishVolumeResponse nodeUnpublishVolume(org.apache.hadoop.yarn.api.protocolrecords.NodeUnpublishVolumeRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException,
java.io.IOException
nodeUnpublishVolume in interface org.apache.hadoop.yarn.api.CsiAdaptorProtocolorg.apache.hadoop.yarn.exceptions.YarnExceptionjava.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.