@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class ApplicationAttemptReport extends Object
ApplicationAttemptReport
is a report of an application attempt.
It includes details such as:
ApplicationAttemptId
of the application.ApplicationMaster
of this attempt is
running.ApplicationMaster
of this attempt.YarnApplicationAttemptState
of the application attempt.ContainerId
of the master Container.Constructor and Description |
---|
ApplicationAttemptReport() |
Modifier and Type | Method and Description |
---|---|
abstract ContainerId |
getAMContainerId()
Get the
ContainerId of AMContainer for this attempt |
abstract ApplicationAttemptId |
getApplicationAttemptId()
Get the
ApplicationAttemptId of this attempt of the
application |
abstract String |
getDiagnostics()
Get the diagnositic information of the application attempt in case
of errors.
|
abstract long |
getFinishTime()
Get the finish time of the application.
|
abstract String |
getHost()
Get the host on which this attempt of
ApplicationMaster is running. |
abstract String |
getOriginalTrackingUrl()
Get the original tracking url for the application attempt.
|
abstract int |
getRpcPort()
Get the RPC port of this attempt
ApplicationMaster . |
abstract long |
getStartTime() |
abstract String |
getTrackingUrl()
Get the tracking url for the application attempt.
|
abstract YarnApplicationAttemptState |
getYarnApplicationAttemptState()
Get the YarnApplicationAttemptState of the application attempt.
|
static ApplicationAttemptReport |
newInstance(ApplicationAttemptId applicationAttemptId,
String host,
int rpcPort,
String url,
String oUrl,
String diagnostics,
YarnApplicationAttemptState state,
ContainerId amContainerId) |
static ApplicationAttemptReport |
newInstance(ApplicationAttemptId applicationAttemptId,
String host,
int rpcPort,
String url,
String oUrl,
String diagnostics,
YarnApplicationAttemptState state,
ContainerId amContainerId,
long startTime,
long finishTime) |
abstract void |
setAMContainerId(ContainerId amContainerId) |
abstract void |
setApplicationAttemptId(ApplicationAttemptId applicationAttemptId) |
abstract void |
setDiagnostics(String diagnostics) |
abstract void |
setFinishTime(long finishTime) |
abstract void |
setHost(String host) |
abstract void |
setOriginalTrackingUrl(String oUrl) |
abstract void |
setRpcPort(int rpcPort) |
abstract void |
setStartTime(long startTime) |
abstract void |
setTrackingUrl(String url) |
abstract void |
setYarnApplicationAttemptState(YarnApplicationAttemptState yarnApplicationAttemptState) |
@InterfaceAudience.Private @InterfaceStability.Unstable public static ApplicationAttemptReport newInstance(ApplicationAttemptId applicationAttemptId, String host, int rpcPort, String url, String oUrl, String diagnostics, YarnApplicationAttemptState state, ContainerId amContainerId, long startTime, long finishTime)
public static ApplicationAttemptReport newInstance(ApplicationAttemptId applicationAttemptId, String host, int rpcPort, String url, String oUrl, String diagnostics, YarnApplicationAttemptState state, ContainerId amContainerId)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract YarnApplicationAttemptState getYarnApplicationAttemptState()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setYarnApplicationAttemptState(YarnApplicationAttemptState yarnApplicationAttemptState)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract int getRpcPort()
ApplicationMaster
.ApplicationMaster
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setRpcPort(int rpcPort)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getHost()
ApplicationMaster
is running.ApplicationMaster
is running@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setHost(String host)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getDiagnostics()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setDiagnostics(String diagnostics)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getTrackingUrl()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setTrackingUrl(String url)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getOriginalTrackingUrl()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setOriginalTrackingUrl(String oUrl)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract ApplicationAttemptId getApplicationAttemptId()
ApplicationAttemptId
of this attempt of the
applicationApplicationAttemptId
of the attempt@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setApplicationAttemptId(ApplicationAttemptId applicationAttemptId)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract ContainerId getAMContainerId()
ContainerId
of AMContainer for this attemptContainerId
of the attempt@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setAMContainerId(ContainerId amContainerId)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract long getStartTime()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setStartTime(long startTime)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract long getFinishTime()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setFinishTime(long finishTime)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.