Class GetApplicationHomeSubClusterRequest
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetApplicationHomeSubClusterRequest
- Direct Known Subclasses:
GetApplicationHomeSubClusterRequestPBImpl
Request class to obtain the home sub-cluster for the specified
ApplicationId.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.hadoop.yarn.api.records.ApplicationIdGet theApplicationIdrepresenting the unique identifier of the application.abstract booleanGet the flag that indicates whether appSubmissionContext should be returned.newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId) newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, boolean containsAppSubmissionContext) abstract voidsetApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId applicationId) Set theApplicationIdrepresenting the unique identifier of the application.abstract voidsetContainsAppSubmissionContext(boolean containsAppSubmissionContext) Set the flag that indicates whether appSubmissionContext should be returned.
-
Constructor Details
-
GetApplicationHomeSubClusterRequest
public GetApplicationHomeSubClusterRequest()
-
-
Method Details
-
newInstance
@Private @Unstable public static GetApplicationHomeSubClusterRequest newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId) -
newInstance
@Private @Unstable public static GetApplicationHomeSubClusterRequest newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, boolean containsAppSubmissionContext) -
getApplicationId
@Public @Unstable public abstract org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()Get theApplicationIdrepresenting 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 theApplicationIdrepresenting the unique identifier of the application.- Parameters:
applicationId- the application identifier
-
getContainsAppSubmissionContext
@Public @Unstable public abstract boolean getContainsAppSubmissionContext()Get the flag that indicates whether appSubmissionContext should be returned. The reason for adding this variable is due to the consideration that appSubmissionContext is not commonly used and its data size can be large.- Returns:
- whether to return appSubmissionContext.
-
setContainsAppSubmissionContext
@Public @Unstable public abstract void setContainsAppSubmissionContext(boolean containsAppSubmissionContext) Set the flag that indicates whether appSubmissionContext should be returned.- Parameters:
containsAppSubmissionContext- whether to return appSubmissionContext.
-