public class ApplicationHistoryManagerImpl extends org.apache.hadoop.service.AbstractService implements ApplicationHistoryManager
| Constructor and Description |
|---|
ApplicationHistoryManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected ApplicationHistoryStore |
createApplicationHistoryStore(org.apache.hadoop.conf.Configuration conf) |
Map<org.apache.hadoop.yarn.api.records.ApplicationId,org.apache.hadoop.yarn.api.records.ApplicationReport> |
getAllApplications() |
org.apache.hadoop.yarn.api.records.ContainerReport |
getAMContainer(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId) |
org.apache.hadoop.yarn.api.records.ApplicationReport |
getApplication(org.apache.hadoop.yarn.api.records.ApplicationId appId) |
org.apache.hadoop.yarn.api.records.ApplicationAttemptReport |
getApplicationAttempt(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId) |
Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,org.apache.hadoop.yarn.api.records.ApplicationAttemptReport> |
getApplicationAttempts(org.apache.hadoop.yarn.api.records.ApplicationId appId) |
org.apache.hadoop.yarn.api.records.ContainerReport |
getContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
Map<org.apache.hadoop.yarn.api.records.ContainerId,org.apache.hadoop.yarn.api.records.ContainerReport> |
getContainers(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId) |
ApplicationHistoryStore |
getHistoryStore() |
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
protected void |
serviceStart() |
protected void |
serviceStop() |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStopprotected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStart()
throws Exception
serviceStart in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStop()
throws Exception
serviceStop in class org.apache.hadoop.service.AbstractServiceExceptionprotected ApplicationHistoryStore createApplicationHistoryStore(org.apache.hadoop.conf.Configuration conf)
public org.apache.hadoop.yarn.api.records.ContainerReport getAMContainer(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
throws IOException
getAMContainer in interface org.apache.hadoop.yarn.server.api.ApplicationContextIOExceptionpublic Map<org.apache.hadoop.yarn.api.records.ApplicationId,org.apache.hadoop.yarn.api.records.ApplicationReport> getAllApplications() throws IOException
getAllApplications in interface org.apache.hadoop.yarn.server.api.ApplicationContextIOExceptionpublic org.apache.hadoop.yarn.api.records.ApplicationReport getApplication(org.apache.hadoop.yarn.api.records.ApplicationId appId)
throws IOException
getApplication in interface org.apache.hadoop.yarn.server.api.ApplicationContextIOExceptionpublic org.apache.hadoop.yarn.api.records.ApplicationAttemptReport getApplicationAttempt(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
throws IOException
getApplicationAttempt in interface org.apache.hadoop.yarn.server.api.ApplicationContextIOExceptionpublic Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,org.apache.hadoop.yarn.api.records.ApplicationAttemptReport> getApplicationAttempts(org.apache.hadoop.yarn.api.records.ApplicationId appId) throws IOException
getApplicationAttempts in interface org.apache.hadoop.yarn.server.api.ApplicationContextIOExceptionpublic org.apache.hadoop.yarn.api.records.ContainerReport getContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId)
throws IOException
getContainer in interface org.apache.hadoop.yarn.server.api.ApplicationContextIOExceptionpublic Map<org.apache.hadoop.yarn.api.records.ContainerId,org.apache.hadoop.yarn.api.records.ContainerReport> getContainers(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId) throws IOException
getContainers in interface org.apache.hadoop.yarn.server.api.ApplicationContextIOException@InterfaceAudience.Private public ApplicationHistoryStore getHistoryStore()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.