Class NMStateStoreService.RecoveredContainerState
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.recovery.NMStateStoreService.RecoveredContainerState
- Enclosing class:
- NMStateStoreService
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.api.records.Resourceorg.apache.hadoop.yarn.api.records.ContainerIdintbooleanintorg.apache.hadoop.yarn.api.protocolrecords.StartContainerRequestlongintvoidvoidsetRecoveryType(NMStateStoreService.RecoveredContainerType recoveryType) voidsetRemainingRetryAttempts(int retryAttempts) voidsetResourceMappings(ResourceMappings mappings) voidsetRestartTimes(List<Long> restartTimes) voidsetStartTime(long ts) voidsetWorkDir(String workDir) toString()
-
Method Details
-
getContainerId
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId() -
getStatus
-
getExitCode
public int getExitCode() -
getKilled
public boolean getKilled() -
getDiagnostics
-
getVersion
public int getVersion() -
getStartTime
public long getStartTime() -
setStartTime
public void setStartTime(long ts) -
getStartRequest
public org.apache.hadoop.yarn.api.protocolrecords.StartContainerRequest getStartRequest() -
getCapability
public org.apache.hadoop.yarn.api.records.Resource getCapability() -
getRemainingRetryAttempts
public int getRemainingRetryAttempts() -
setRemainingRetryAttempts
public void setRemainingRetryAttempts(int retryAttempts) -
getRestartTimes
-
setRestartTimes
-
getWorkDir
-
setWorkDir
-
getLogDir
-
setLogDir
-
toString
-
getRecoveryType
-
setRecoveryType
-
getResourceMappings
-
setResourceMappings
-