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, addInputPaths, computeSplitSize, getBlockIndex, getFormatMinSplitSize, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, getSplits, listStatus, 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 java.io.IOException, java.lang.InterruptedException
createRecordReader
in class org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo>
java.io.IOException
java.lang.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