Class SCMUploaderCanUploadRequest

java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.SCMUploaderCanUploadRequest
Direct Known Subclasses:
SCMUploaderCanUploadRequestPBImpl

@Private @Unstable public abstract class SCMUploaderCanUploadRequest extends Object

The request from the NodeManager to the SharedCacheManager that requests whether it can upload a resource in the shared cache.

  • Constructor Details

    • SCMUploaderCanUploadRequest

      public SCMUploaderCanUploadRequest()
  • Method Details

    • getResourceKey

      public abstract String getResourceKey()
      Get the key of the resource that would be uploaded to the shared cache.
      Returns:
      key
    • setResourceKey

      public abstract void setResourceKey(String key)
      Set the key of the resource that would be uploaded to the shared cache.
      Parameters:
      key - unique identifier for the resource