org.apache.hadoop.yarn.server.resourcemanager.recovery
Class RMStateStore.ApplicationState
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore.ApplicationState
- Enclosing class:
- RMStateStore
public static class RMStateStore.ApplicationState
- extends Object
State of an application application
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RMStateStore.ApplicationState
public RMStateStore.ApplicationState(long submitTime,
long startTime,
org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context,
String user)
RMStateStore.ApplicationState
public RMStateStore.ApplicationState(long submitTime,
long startTime,
org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context,
String user,
RMAppState state,
String diagnostics,
long finishTime)
getAppId
public org.apache.hadoop.yarn.api.records.ApplicationId getAppId()
getSubmitTime
public long getSubmitTime()
getStartTime
public long getStartTime()
getAttemptCount
public int getAttemptCount()
getApplicationSubmissionContext
public org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext getApplicationSubmissionContext()
getAttempt
public RMStateStore.ApplicationAttemptState getAttempt(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId)
getUser
public String getUser()
getState
public RMAppState getState()
getDiagnostics
public String getDiagnostics()
getFinishTime
public long getFinishTime()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.