public static class HadoopJobHistoryLoader.HadoopJobHistoryInputFormat extends org.apache.hadoop.mapreduce.lib.input.FileInputFormat<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo>
Constructor and Description |
---|
HadoopJobHistoryLoader.HadoopJobHistoryInputFormat() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
protected boolean |
isSplitable(org.apache.hadoop.mapreduce.JobContext context,
org.apache.hadoop.fs.Path filename) |
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getFormatMinSplitSize, getInputDirRecursive, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, getSplits, listStatus, makeSplit, makeSplit, setInputDirRecursive, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSize
public HadoopJobHistoryLoader.HadoopJobHistoryInputFormat()
public org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
createRecordReader
in class org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo>
IOException
InterruptedException
protected boolean isSplitable(org.apache.hadoop.mapreduce.JobContext context, org.apache.hadoop.fs.Path filename)
isSplitable
in class org.apache.hadoop.mapreduce.lib.input.FileInputFormat<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo>
Copyright © 2007-2012 The Apache Software Foundation