org.apache.hadoop.yarn.server.resourcemanager.recovery
Class RMStateStore.ApplicationState

java.lang.Object
  extended by org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore.ApplicationState
Enclosing class:
RMStateStore

public static class RMStateStore.ApplicationState
extends Object

State of an application application


Constructor Summary
RMStateStore.ApplicationState(long submitTime, long startTime, org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context, String user)
           
RMStateStore.ApplicationState(long submitTime, long startTime, org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context, String user, RMAppState state, String diagnostics, long finishTime)
           
 
Method Summary
 org.apache.hadoop.yarn.api.records.ApplicationId getAppId()
           
 org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext getApplicationSubmissionContext()
           
 RMStateStore.ApplicationAttemptState getAttempt(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId)
           
 int getAttemptCount()
           
 String getDiagnostics()
           
 long getFinishTime()
           
 long getStartTime()
           
 RMAppState getState()
           
 long getSubmitTime()
           
 String getUser()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.