|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.service.AbstractService
org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager
@InterfaceAudience.Public @InterfaceStability.Unstable public class HistoryFileManager
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.service.Service |
|---|
org.apache.hadoop.service.Service.STATE |
| Field Summary | |
|---|---|
protected org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.JobListCache |
jobListCache
|
protected ThreadPoolExecutor |
moveToDoneExecutor
|
| Constructor Summary | |
|---|---|
HistoryFileManager()
|
|
| Method Summary | |
|---|---|
Collection<HistoryFileManager.HistoryFileInfo> |
getAllFileInfo()
|
HistoryFileManager.HistoryFileInfo |
getFileInfo(org.apache.hadoop.mapreduce.v2.api.records.JobId jobId)
|
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf)
|
void |
serviceStop()
|
protected void |
setMaxHistoryAge(long newValue)
|
| Methods inherited from class org.apache.hadoop.service.AbstractService |
|---|
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceStart, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.JobListCache jobListCache
protected ThreadPoolExecutor moveToDoneExecutor
| Constructor Detail |
|---|
public HistoryFileManager()
| Method Detail |
|---|
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceException
public void serviceStop()
throws Exception
serviceStop in class org.apache.hadoop.service.AbstractServiceException
public Collection<HistoryFileManager.HistoryFileInfo> getAllFileInfo()
throws IOException
IOException
public HistoryFileManager.HistoryFileInfo getFileInfo(org.apache.hadoop.mapreduce.v2.api.records.JobId jobId)
throws IOException
IOExceptionprotected void setMaxHistoryAge(long newValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||