public class HistoryFileManager.HistoryFileInfo extends Object
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() |
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
IOException
public 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
IOException
Copyright © 2016 Apache Software Foundation. All Rights Reserved.