java.lang.Object
org.apache.hadoop.service.AbstractService
org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.runc.HdfsManifestToResourcesPlugin
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.service.Service, RuncManifestToResourcesPlugin

@Unstable public class HdfsManifestToResourcesPlugin extends org.apache.hadoop.service.AbstractService implements RuncManifestToResourcesPlugin
This class is a plugin for the RuncContainerRuntime that maps runC image manifests into their associated config and layers that are located in HDFS.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service

    org.apache.hadoop.service.Service.STATE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.yarn.api.records.LocalResource
     
    List<org.apache.hadoop.yarn.api.records.LocalResource>
     
    org.apache.hadoop.yarn.api.records.LocalResource
    getResource(ImageManifest.Blob blob, String dir, String expectedMediaType, String expectedHashAlgorithm, String resourceSuffix)
     
    void
    serviceInit(org.apache.hadoop.conf.Configuration configuration)
     
    void
     
    protected org.apache.hadoop.fs.FileStatus
    statBlob(org.apache.hadoop.fs.Path path)
     

    Methods inherited from class org.apache.hadoop.service.AbstractService

    close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.hadoop.service.Service

    close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, registerServiceListener, start, stop, unregisterServiceListener, waitForServiceToStop