org.apache.hadoop.yarn.server.resourcemanager.recovery.records
Interface ApplicationAttemptStateData

All Known Implementing Classes:
ApplicationAttemptStateDataPBImpl

@InterfaceAudience.Public
@InterfaceStability.Unstable
public interface ApplicationAttemptStateData


Method Summary
 ByteBuffer getAppAttemptTokens()
          The application attempt tokens that belong to this attempt
 org.apache.hadoop.yarn.api.records.ApplicationAttemptId getAttemptId()
          The ApplicationAttemptId for the application attempt
 String getDiagnostics()
          Get the diagnositic information of the attempt
 org.apache.hadoop.yarn.api.records.FinalApplicationStatus getFinalApplicationStatus()
          Get the final finish status of the application.
 String getFinalTrackingUrl()
          Get the original not-proxied final tracking url for the application.
 org.apache.hadoop.yarn.api.records.Container getMasterContainer()
           
 long getStartTime()
          Get the start time of the application.
 RMAppAttemptState getState()
          Get the final state of the application attempt.
 void setAppAttemptTokens(ByteBuffer attemptTokens)
           
 void setAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId)
           
 void setDiagnostics(String diagnostics)
           
 void setFinalApplicationStatus(org.apache.hadoop.yarn.api.records.FinalApplicationStatus finishState)
           
 void setFinalTrackingUrl(String url)
          Set the final tracking Url of the AM.
 void setMasterContainer(org.apache.hadoop.yarn.api.records.Container container)
           
 void setStartTime(long startTime)
           
 void setState(RMAppAttemptState state)
           
 

Method Detail

getAttemptId

@InterfaceAudience.Public
@InterfaceStability.Unstable
org.apache.hadoop.yarn.api.records.ApplicationAttemptId getAttemptId()
The ApplicationAttemptId for the application attempt

Returns:
ApplicationAttemptId for the application attempt

setAttemptId

void setAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId)

getMasterContainer

@InterfaceAudience.Public
@InterfaceStability.Unstable
org.apache.hadoop.yarn.api.records.Container getMasterContainer()

setMasterContainer

void setMasterContainer(org.apache.hadoop.yarn.api.records.Container container)

getAppAttemptTokens

@InterfaceAudience.Public
@InterfaceStability.Unstable
ByteBuffer getAppAttemptTokens()
The application attempt tokens that belong to this attempt

Returns:
The application attempt tokens that belong to this attempt

setAppAttemptTokens

void setAppAttemptTokens(ByteBuffer attemptTokens)

getState

RMAppAttemptState getState()
Get the final state of the application attempt.

Returns:
the final state of the application attempt.

setState

void setState(RMAppAttemptState state)

getFinalTrackingUrl

String getFinalTrackingUrl()
Get the original not-proxied final tracking url for the application. This is intended to only be used by the proxy itself.

Returns:
the original not-proxied final tracking url for the application

setFinalTrackingUrl

void setFinalTrackingUrl(String url)
Set the final tracking Url of the AM.

Parameters:
url -

getDiagnostics

String getDiagnostics()
Get the diagnositic information of the attempt

Returns:
diagnositic information of the attempt

setDiagnostics

void setDiagnostics(String diagnostics)

getStartTime

long getStartTime()
Get the start time of the application.

Returns:
start time of the application

setStartTime

void setStartTime(long startTime)

getFinalApplicationStatus

org.apache.hadoop.yarn.api.records.FinalApplicationStatus getFinalApplicationStatus()
Get the final finish status of the application.

Returns:
final finish status of the application

setFinalApplicationStatus

void setFinalApplicationStatus(org.apache.hadoop.yarn.api.records.FinalApplicationStatus finishState)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.