Class ApplicationHomeSubCluster

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

@Private @Unstable public abstract class ApplicationHomeSubCluster extends Object

ApplicationHomeSubCluster is a report of the runtime information of the application that is running in the federated cluster.

It includes information such as:

  • Constructor Details

    • ApplicationHomeSubCluster

      public ApplicationHomeSubCluster()
  • Method Details

    • newInstance

      @Private @Unstable public static ApplicationHomeSubCluster newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, SubClusterId homeSubCluster)
    • newInstance

      @Private @Unstable public static ApplicationHomeSubCluster newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, long createTime, SubClusterId homeSubCluster)
    • newInstance

      @Private @Unstable public static ApplicationHomeSubCluster newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, long createTime, SubClusterId homeSubCluster, org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext)
    • newInstance

      @Private @Unstable public static ApplicationHomeSubCluster newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, SubClusterId homeSubCluster, org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext)
    • getApplicationId

      @Public @Unstable public abstract org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
      Get the ApplicationId representing the unique identifier of the application.
      Returns:
      the application identifier
    • setApplicationId

      @Private @Unstable public abstract void setApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
      Set the ApplicationId representing the unique identifier of the application.
      Parameters:
      applicationId - the application identifier
    • getHomeSubCluster

      @Public @Unstable public abstract SubClusterId getHomeSubCluster()
      Get the SubClusterId representing the unique identifier of the home subcluster in which the ApplicationMaster of the application is running.
      Returns:
      the home subcluster identifier
    • setHomeSubCluster

      @Private @Unstable public abstract void setHomeSubCluster(SubClusterId homeSubCluster)
      Set the SubClusterId representing the unique identifier of the home subcluster in which the ApplicationMaster of the application is running.
      Parameters:
      homeSubCluster - the home subcluster identifier
    • getCreateTime

      @Public @Unstable public abstract long getCreateTime()
      Get the create time of the subcluster.
      Returns:
      the state of the subcluster
    • setCreateTime

      @Private @Unstable public abstract void setCreateTime(long time)
      Set the create time of the subcluster.
      Parameters:
      time - the last heartbeat time of the subcluster
    • setApplicationSubmissionContext

      @Private @Unstable public abstract void setApplicationSubmissionContext(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context)
      Set Application Submission Context.
      Parameters:
      context - Application Submission Context.
    • getApplicationSubmissionContext

      @Private @Unstable public abstract org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext getApplicationSubmissionContext()
      Get Application Submission Context.
      Returns:
      Application Submission Context.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object