Class GetApplicationHomeSubClusterResponse
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetApplicationHomeSubClusterResponse
- Direct Known Subclasses:
GetApplicationHomeSubClusterResponsePBImpl
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.:
ApplicationIdSubClusterId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ApplicationHomeSubClusterGet theApplicationHomeSubClusterrepresenting the mapping of the application to it's home sub-cluster.newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, SubClusterId homeSubCluster) newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, SubClusterId homeSubCluster, long createTime) newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, SubClusterId homeSubCluster, long createTime, org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context) abstract voidsetApplicationHomeSubCluster(ApplicationHomeSubCluster applicationHomeSubCluster) Set theApplicationHomeSubClusterrepresenting the mapping of the application to it's home sub-cluster.
-
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
Get theApplicationHomeSubClusterrepresenting 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 theApplicationHomeSubClusterrepresenting the mapping of the application to it's home sub-cluster.- Parameters:
applicationHomeSubCluster- the mapping of the application to it's home sub-cluster.
-