org.apache.hadoop.mapreduce.v2.hs
Class HistoryFileManager

java.lang.Object
  extended by org.apache.hadoop.yarn.service.AbstractService
      extended by 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 Class Summary
 class HistoryFileManager.HistoryFileInfo
           
 
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
           
 
Constructor Summary
HistoryFileManager()
           
 
Method Summary
 Collection<HistoryFileManager.HistoryFileInfo> getAllFileInfo()
           
 HistoryFileManager.HistoryFileInfo getFileInfo(org.apache.hadoop.mapreduce.v2.api.records.JobId jobId)
           
 void init(org.apache.hadoop.conf.Configuration conf)
           
 
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
 

Field Detail

jobListCache

protected org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.JobListCache jobListCache
Constructor Detail

HistoryFileManager

public HistoryFileManager()
Method Detail

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.