ApplicationHomeSubClusterPBImpl@Private
@Unstable
public abstract class ApplicationHomeSubCluster
extends java.lang.Object
ApplicationHomeSubCluster is a report of the runtime information of the application that is running in the federated cluster.
It includes information such as:
ApplicationIdSubClusterId| Constructor | Description |
|---|---|
ApplicationHomeSubCluster() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
abstract org.apache.hadoop.yarn.api.records.ApplicationId |
getApplicationId() |
Get the
ApplicationId representing the unique identifier of the
application. |
abstract org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext |
getApplicationSubmissionContext() |
Get Application Submission Context.
|
abstract long |
getCreateTime() |
Get the create time of the subcluster.
|
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,
long createTime,
SubClusterId homeSubCluster) |
|
static ApplicationHomeSubCluster |
newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId,
long createTime,
SubClusterId homeSubCluster,
org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext) |
|
static ApplicationHomeSubCluster |
newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId,
SubClusterId homeSubCluster) |
|
static ApplicationHomeSubCluster |
newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId,
SubClusterId homeSubCluster,
org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext) |
|
abstract void |
setApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId applicationId) |
Set the
ApplicationId representing the unique identifier of the
application. |
abstract void |
setApplicationSubmissionContext(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context) |
Set Application Submission Context.
|
abstract void |
setCreateTime(long time) |
Set the create time of the subcluster.
|
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. |
java.lang.String |
toString() |
@Private @Unstable public static ApplicationHomeSubCluster newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, SubClusterId homeSubCluster)
@Private @Unstable public static ApplicationHomeSubCluster newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, long createTime, SubClusterId homeSubCluster)
@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)
@Private @Unstable public static ApplicationHomeSubCluster newInstance(org.apache.hadoop.yarn.api.records.ApplicationId appId, SubClusterId homeSubCluster, org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubmissionContext)
@Public @Unstable public abstract org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
ApplicationId representing the unique identifier of the
application.@Private @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@Public @Unstable public abstract SubClusterId getHomeSubCluster()
SubClusterId representing the unique identifier of the home
subcluster in which the ApplicationMaster of the application is running.@Private @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 identifier@Public @Unstable public abstract long getCreateTime()
@Private @Unstable public abstract void setCreateTime(long time)
time - the last heartbeat time of the subcluster@Private @Unstable public abstract void setApplicationSubmissionContext(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context)
context - Application Submission Context.@Private @Unstable public abstract org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext getApplicationSubmissionContext()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.