@InterfaceAudience.Private @InterfaceStability.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:
ApplicationId
SubClusterId
Constructor and Description |
---|
ApplicationHomeSubCluster() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
abstract org.apache.hadoop.yarn.api.records.ApplicationId |
getApplicationId()
Get the
ApplicationId representing the unique identifier of the
application. |
abstract SubClusterId |
getHomeSubCluster()
Get the
SubClusterId representing the unique identifier of the home
subcluster in which the ApplicationMaster of the application is running. |
int |
hashCode() |
static ApplicationHomeSubCluster |
newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId,
SubClusterId homeSubCluster) |
abstract void |
setApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
Set the
ApplicationId representing the unique identifier of the
application. |
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. |
String |
toString() |
@InterfaceAudience.Private @InterfaceStability.Unstable public static ApplicationHomeSubCluster newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, SubClusterId homeSubCluster)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
ApplicationId
representing the unique identifier of the
application.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
ApplicationId
representing the unique identifier of the
application.applicationId
- the application identifier@InterfaceAudience.Public @InterfaceStability.Unstable public abstract SubClusterId getHomeSubCluster()
SubClusterId
representing the unique identifier of the home
subcluster in which the ApplicationMaster of the application is running.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setHomeSubCluster(SubClusterId homeSubCluster)
SubClusterId
representing the unique identifier of the home
subcluster in which the ApplicationMaster of the application is running.homeSubCluster
- the home subcluster identifierCopyright © 2008–2022 Apache Software Foundation. All rights reserved.