org.apache.hadoop.mapreduce.v2.hs
Class HistoryFileManager
java.lang.Object
org.apache.hadoop.yarn.service.AbstractService
org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager
- All Implemented Interfaces:
- org.apache.hadoop.yarn.service.Service
@InterfaceAudience.Public
@InterfaceStability.Unstable
public class HistoryFileManager
- extends org.apache.hadoop.yarn.service.AbstractService
This class provides a way to interact with history files in a thread safe
manor.
| Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.Service |
org.apache.hadoop.yarn.service.Service.STATE |
|
Field Summary |
protected org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.JobListCache |
jobListCache
|
| Methods inherited from class org.apache.hadoop.yarn.service.AbstractService |
getConfig, getName, getServiceState, getStartTime, register, start, stop, unregister |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jobListCache
protected org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.JobListCache jobListCache
HistoryFileManager
public HistoryFileManager()
init
public void init(org.apache.hadoop.conf.Configuration conf)
- Specified by:
init in interface org.apache.hadoop.yarn.service.Service- Overrides:
init in class org.apache.hadoop.yarn.service.AbstractService
getAllFileInfo
public Collection<HistoryFileManager.HistoryFileInfo> getAllFileInfo()
throws IOException
- Throws:
IOException
getFileInfo
public HistoryFileManager.HistoryFileInfo getFileInfo(org.apache.hadoop.mapreduce.v2.api.records.JobId jobId)
throws IOException
- Throws:
IOException
Copyright © 2013 Apache Software Foundation. All Rights Reserved.