@InterfaceAudience.Public @InterfaceStability.Stable public abstract class ApplicationAttemptId extends Object implements Comparable<ApplicationAttemptId>
ApplicationAttemptId denotes the particular attempt
of an ApplicationMaster for a given ApplicationId.
Multiple attempts might be needed to run an application to completion due
to temporal failures of the ApplicationMaster such as hardware
failures, connectivity issues etc. on the node on which it was scheduled.
| Constructor and Description |
|---|
ApplicationAttemptId() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
build() |
int |
compareTo(ApplicationAttemptId other) |
boolean |
equals(Object obj) |
abstract ApplicationId |
getApplicationId()
Get the
ApplicationId of the ApplicationAttempId. |
abstract int |
getAttemptId()
Get the
attempt id of the Application. |
int |
hashCode() |
String |
toString() |
public ApplicationAttemptId()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract ApplicationId getApplicationId()
ApplicationId of the ApplicationAttempId.ApplicationId of the ApplicationAttempId@InterfaceAudience.Public @InterfaceStability.Stable public abstract int getAttemptId()
attempt id of the Application.attempt id of the Applicationpublic int compareTo(ApplicationAttemptId other)
compareTo in interface Comparable<ApplicationAttemptId>protected abstract void build()
Copyright © 2017 Apache Software Foundation. All rights reserved.