java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Service, RuncManifestToResourcesPlugin@Unstable public class HdfsManifestToResourcesPlugin extends org.apache.hadoop.service.AbstractService implements RuncManifestToResourcesPlugin
RuncContainerRuntime
that maps runC image manifests into their associated config and
layers that are located in HDFS.| Constructor | Description |
|---|---|
HdfsManifestToResourcesPlugin() |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.yarn.api.records.LocalResource |
getConfigResource(ImageManifest manifest) |
|
java.util.List<org.apache.hadoop.yarn.api.records.LocalResource> |
getLayerResources(ImageManifest manifest) |
|
org.apache.hadoop.yarn.api.records.LocalResource |
getResource(ImageManifest.Blob blob,
java.lang.String dir,
java.lang.String expectedMediaType,
java.lang.String expectedHashAlgorithm,
java.lang.String resourceSuffix) |
|
void |
serviceInit(org.apache.hadoop.conf.Configuration configuration) |
|
void |
serviceStart() |
|
protected org.apache.hadoop.fs.FileStatus |
statBlob(org.apache.hadoop.fs.Path path) |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic void serviceInit(org.apache.hadoop.conf.Configuration configuration)
serviceInit in class org.apache.hadoop.service.AbstractServicepublic void serviceStart()
throws java.io.IOException
serviceStart in class org.apache.hadoop.service.AbstractServicejava.io.IOExceptionpublic java.util.List<org.apache.hadoop.yarn.api.records.LocalResource> getLayerResources(ImageManifest manifest) throws java.io.IOException
getLayerResources in interface RuncManifestToResourcesPluginjava.io.IOExceptionpublic org.apache.hadoop.yarn.api.records.LocalResource getConfigResource(ImageManifest manifest) throws java.io.IOException
getConfigResource in interface RuncManifestToResourcesPluginjava.io.IOExceptionpublic org.apache.hadoop.yarn.api.records.LocalResource getResource(ImageManifest.Blob blob, java.lang.String dir, java.lang.String expectedMediaType, java.lang.String expectedHashAlgorithm, java.lang.String resourceSuffix) throws java.io.IOException
java.io.IOExceptionprotected org.apache.hadoop.fs.FileStatus statBlob(org.apache.hadoop.fs.Path path)
throws java.io.IOException
java.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.