@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class ApplicationAttemptStateData extends Object
Constructor and Description |
---|
ApplicationAttemptStateData() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getAMContainerExitStatus() |
abstract org.apache.hadoop.security.Credentials |
getAppAttemptTokens()
The application attempt tokens that belong to this attempt
|
abstract org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getAttemptId()
The ApplicationAttemptId for the application attempt
|
abstract String |
getDiagnostics()
Get the diagnositic information of the attempt
|
abstract org.apache.hadoop.yarn.api.records.FinalApplicationStatus |
getFinalApplicationStatus()
Get the final finish status of the application.
|
abstract String |
getFinalTrackingUrl()
Get the original not-proxied final tracking url for the
application.
|
abstract long |
getFinishTime()
Get the finish time of the application attempt.
|
abstract org.apache.hadoop.yarn.api.records.Container |
getMasterContainer() |
abstract long |
getMemorySeconds()
Get the memory seconds (in MB seconds) of the application.
|
abstract long |
getPreemptedMemorySeconds()
Get the preempted memory seconds
(in MB seconds) of the application.
|
abstract long |
getPreemptedVcoreSeconds()
Get the preempted vcore seconds
of the application.
|
abstract org.apache.hadoop.yarn.proto.YarnServerResourceManagerRecoveryProtos.ApplicationAttemptStateDataProto |
getProto() |
abstract long |
getStartTime()
Get the start time of the application.
|
abstract RMAppAttemptState |
getState()
Get the final state of the application attempt.
|
abstract long |
getVcoreSeconds()
Get the vcore seconds of the application.
|
static ApplicationAttemptStateData |
newInstance(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId,
org.apache.hadoop.yarn.api.records.Container masterContainer,
org.apache.hadoop.security.Credentials attemptTokens,
long startTime,
long memorySeconds,
long vcoreSeconds,
long preemptedMemorySeconds,
long preemptedVcoreSeconds) |
static ApplicationAttemptStateData |
newInstance(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId,
org.apache.hadoop.yarn.api.records.Container container,
org.apache.hadoop.security.Credentials attemptTokens,
long startTime,
RMAppAttemptState finalState,
String finalTrackingUrl,
String diagnostics,
org.apache.hadoop.yarn.api.records.FinalApplicationStatus amUnregisteredFinalStatus,
int exitStatus,
long finishTime,
long memorySeconds,
long vcoreSeconds,
long preemptedMemorySeconds,
long preemptedVcoreSeconds) |
abstract void |
setAMContainerExitStatus(int exitStatus) |
abstract void |
setAppAttemptTokens(org.apache.hadoop.security.Credentials attemptTokens) |
abstract void |
setAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId) |
abstract void |
setDiagnostics(String diagnostics) |
abstract void |
setFinalApplicationStatus(org.apache.hadoop.yarn.api.records.FinalApplicationStatus finishState) |
abstract void |
setFinalTrackingUrl(String url)
Set the final tracking Url of the AM.
|
abstract void |
setFinishTime(long finishTime) |
abstract void |
setMasterContainer(org.apache.hadoop.yarn.api.records.Container container) |
abstract void |
setMemorySeconds(long memorySeconds) |
abstract void |
setPreemptedMemorySeconds(long memorySeconds) |
abstract void |
setPreemptedVcoreSeconds(long vcoreSeconds) |
abstract void |
setStartTime(long startTime) |
abstract void |
setState(RMAppAttemptState state) |
abstract void |
setVcoreSeconds(long vcoreSeconds) |
public static ApplicationAttemptStateData newInstance(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId, org.apache.hadoop.yarn.api.records.Container container, org.apache.hadoop.security.Credentials attemptTokens, long startTime, RMAppAttemptState finalState, String finalTrackingUrl, String diagnostics, org.apache.hadoop.yarn.api.records.FinalApplicationStatus amUnregisteredFinalStatus, int exitStatus, long finishTime, long memorySeconds, long vcoreSeconds, long preemptedMemorySeconds, long preemptedVcoreSeconds)
public static ApplicationAttemptStateData newInstance(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId, org.apache.hadoop.yarn.api.records.Container masterContainer, org.apache.hadoop.security.Credentials attemptTokens, long startTime, long memorySeconds, long vcoreSeconds, long preemptedMemorySeconds, long preemptedVcoreSeconds)
public abstract org.apache.hadoop.yarn.proto.YarnServerResourceManagerRecoveryProtos.ApplicationAttemptStateDataProto getProto()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract org.apache.hadoop.yarn.api.records.ApplicationAttemptId getAttemptId()
public abstract void setAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract org.apache.hadoop.yarn.api.records.Container getMasterContainer()
public abstract void setMasterContainer(org.apache.hadoop.yarn.api.records.Container container)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract org.apache.hadoop.security.Credentials getAppAttemptTokens()
public abstract void setAppAttemptTokens(org.apache.hadoop.security.Credentials attemptTokens)
public abstract RMAppAttemptState getState()
public abstract void setState(RMAppAttemptState state)
public abstract String getFinalTrackingUrl()
public abstract void setFinalTrackingUrl(String url)
url
- public abstract String getDiagnostics()
public abstract void setDiagnostics(String diagnostics)
public abstract long getStartTime()
public abstract void setStartTime(long startTime)
public abstract org.apache.hadoop.yarn.api.records.FinalApplicationStatus getFinalApplicationStatus()
public abstract void setFinalApplicationStatus(org.apache.hadoop.yarn.api.records.FinalApplicationStatus finishState)
public abstract int getAMContainerExitStatus()
public abstract void setAMContainerExitStatus(int exitStatus)
public abstract long getFinishTime()
public abstract void setFinishTime(long finishTime)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract long getMemorySeconds()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setMemorySeconds(long memorySeconds)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract long getVcoreSeconds()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setVcoreSeconds(long vcoreSeconds)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract long getPreemptedMemorySeconds()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setPreemptedMemorySeconds(long memorySeconds)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract long getPreemptedVcoreSeconds()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setPreemptedVcoreSeconds(long vcoreSeconds)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.