Class SubClusterRegisterRequest

java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.SubClusterRegisterRequest
Direct Known Subclasses:
SubClusterRegisterRequestPBImpl

@Private @Unstable public abstract class SubClusterRegisterRequest extends Object

SubClusterRegisterRequest is a request by a sub-cluster ResourceManager to participate in federation.

It includes information such as:

  • SubClusterId
  • The URL of the subcluster
  • The timestamp representing the last start time of the subCluster
  • FederationsubClusterState
  • The current capacity and utilization of the subCluster
  • Constructor Details

    • SubClusterRegisterRequest

      public SubClusterRegisterRequest()
  • Method Details

    • newInstance

      @Private @Unstable public static SubClusterRegisterRequest newInstance(SubClusterInfo subClusterInfo)
    • getSubClusterInfo

      @Public @Unstable public abstract SubClusterInfo getSubClusterInfo()
      Get the SubClusterInfo encapsulating the information about the sub-cluster.
      Returns:
      the information pertaining to the sub-cluster
    • setSubClusterInfo

      @Public @Unstable public abstract void setSubClusterInfo(SubClusterInfo subClusterInfo)
      Set the SubClusterInfo encapsulating the information about the sub-cluster.
      Parameters:
      subClusterInfo - the information pertaining to the sub-cluster