Class GetApplicationHomeSubClusterResponse

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

@Private @Unstable public abstract class GetApplicationHomeSubClusterResponse extends Object

The response sent by Federation state store to a query for the home subcluster of a newly submitted application.

The request includes the mapping details, i.e.:

  • ApplicationId
  • SubClusterId
  • Constructor Details

    • GetApplicationHomeSubClusterResponse

      public GetApplicationHomeSubClusterResponse()
  • Method Details

    • newInstance

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

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

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

      @Public @Unstable public abstract ApplicationHomeSubCluster getApplicationHomeSubCluster()
      Get the ApplicationHomeSubCluster representing the mapping of the application to it's home sub-cluster.
      Returns:
      the mapping of the application to it's home sub-cluster.
    • setApplicationHomeSubCluster

      @Private @Unstable public abstract void setApplicationHomeSubCluster(ApplicationHomeSubCluster applicationHomeSubCluster)
      Set the ApplicationHomeSubCluster representing the mapping of the application to it's home sub-cluster.
      Parameters:
      applicationHomeSubCluster - the mapping of the application to it's home sub-cluster.