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

All Known Implementing Classes:
ApplicationStateDataPBImpl

@InterfaceAudience.Public
@InterfaceStability.Unstable
public interface ApplicationStateData

Contains all the state data that needs to be stored persistently for an Application


Method Summary
 org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext getApplicationSubmissionContext()
          The ApplicationSubmissionContext for the application ApplicationId can be obtained from the this
 String getDiagnostics()
          Get the diagnostics information for the application master.
 long getFinishTime()
          The finish time of the application.
 long getStartTime()
          Get the start time of the application.
 RMAppState getState()
          Get the final state of the application.
 long getSubmitTime()
          The time at which the application was received by the Resource Manager
 String getUser()
           
 void setApplicationSubmissionContext(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context)
           
 void setDiagnostics(String diagnostics)
           
 void setFinishTime(long finishTime)
           
 void setStartTime(long startTime)
           
 void setState(RMAppState state)
           
 void setSubmitTime(long submitTime)
           
 void setUser(String user)
          The application submitter
 

Method Detail

getSubmitTime

@InterfaceAudience.Public
@InterfaceStability.Unstable
long getSubmitTime()
The time at which the application was received by the Resource Manager

Returns:
submitTime

setSubmitTime

@InterfaceAudience.Public
@InterfaceStability.Unstable
void setSubmitTime(long submitTime)

getStartTime

@InterfaceAudience.Public
@InterfaceStability.Stable
long getStartTime()
Get the start time of the application.

Returns:
start time of the application

setStartTime

@InterfaceAudience.Private
@InterfaceStability.Unstable
void setStartTime(long startTime)

setUser

@InterfaceAudience.Public
@InterfaceStability.Unstable
void setUser(String user)
The application submitter


getUser

@InterfaceAudience.Public
@InterfaceStability.Unstable
String getUser()

getApplicationSubmissionContext

@InterfaceAudience.Public
@InterfaceStability.Unstable
org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext getApplicationSubmissionContext()
The ApplicationSubmissionContext for the application ApplicationId can be obtained from the this

Returns:
ApplicationSubmissionContext

setApplicationSubmissionContext

@InterfaceAudience.Public
@InterfaceStability.Unstable
void setApplicationSubmissionContext(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context)

getState

RMAppState getState()
Get the final state of the application.

Returns:
the final state of the application.

setState

void setState(RMAppState state)

getDiagnostics

String getDiagnostics()
Get the diagnostics information for the application master.

Returns:
the diagnostics information for the application master.

setDiagnostics

void setDiagnostics(String diagnostics)

getFinishTime

long getFinishTime()
The finish time of the application.

Returns:
the finish time of the application.,

setFinishTime

void setFinishTime(long finishTime)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.