public class HistoryFileManager.HistoryFileInfo extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
HistoryFileInfo(org.apache.hadoop.fs.Path historyFile,
org.apache.hadoop.fs.Path confFile,
org.apache.hadoop.fs.Path summaryFile,
org.apache.hadoop.mapreduce.v2.jobhistory.JobIndexInfo jobIndexInfo,
boolean isInDone) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
delete() |
org.apache.hadoop.fs.Path |
getConfFile() |
org.apache.hadoop.mapreduce.v2.api.records.JobId |
getJobId() |
org.apache.hadoop.mapreduce.v2.jobhistory.JobIndexInfo |
getJobIndexInfo() |
boolean |
isDeleted() |
org.apache.hadoop.conf.Configuration |
loadConfFile() |
org.apache.hadoop.mapreduce.v2.app.job.Job |
loadJob()
Parse a job from the JobHistoryFile, if the underlying file is not going
to be deleted.
|
String |
toString() |
protected HistoryFileInfo(org.apache.hadoop.fs.Path historyFile,
org.apache.hadoop.fs.Path confFile,
org.apache.hadoop.fs.Path summaryFile,
org.apache.hadoop.mapreduce.v2.jobhistory.JobIndexInfo jobIndexInfo,
boolean isInDone)
public boolean isDeleted()
public org.apache.hadoop.mapreduce.v2.app.job.Job loadJob()
throws IOException
IOException - if there is an error trying to read the file.protected void delete()
throws IOException
IOExceptionpublic org.apache.hadoop.mapreduce.v2.jobhistory.JobIndexInfo getJobIndexInfo()
public org.apache.hadoop.mapreduce.v2.api.records.JobId getJobId()
public org.apache.hadoop.fs.Path getConfFile()
public org.apache.hadoop.conf.Configuration loadConfFile()
throws IOException
IOExceptionCopyright © 2016 Apache Software Foundation. All Rights Reserved.