@InterfaceAudience.Public public class WALInputFormat extends org.apache.hadoop.mapreduce.InputFormat<WALKey,WALEdit>
InputFormat for WAL files.| Modifier and Type | Class and Description | 
|---|---|
| (package private) static class  | WALInputFormat.WALKeyRecordReaderhandler for non-deprecated WALKey version. | 
| (package private) static class  | WALInputFormat.WALRecordReader<K extends WALKey>RecordReaderfor anWALfile. | 
| (package private) static class  | WALInputFormat.WALSplitInputSplitforWALfiles. | 
| Modifier and Type | Field and Description | 
|---|---|
| static String | END_TIME_KEY | 
| private static org.slf4j.Logger | LOG | 
| static String | START_TIME_KEY | 
| Constructor and Description | 
|---|
| WALInputFormat() | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.mapreduce.RecordReader<WALKey,WALEdit> | createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
                  org.apache.hadoop.mapreduce.TaskAttemptContext context) | 
| private List<org.apache.hadoop.fs.FileStatus> | getFiles(org.apache.hadoop.fs.FileSystem fs,
        org.apache.hadoop.fs.Path dir,
        long startTime,
        long endTime) | 
| private org.apache.hadoop.fs.Path[] | getInputPaths(org.apache.hadoop.conf.Configuration conf) | 
| List<org.apache.hadoop.mapreduce.InputSplit> | getSplits(org.apache.hadoop.mapreduce.JobContext context) | 
| (package private) List<org.apache.hadoop.mapreduce.InputSplit> | getSplits(org.apache.hadoop.mapreduce.JobContext context,
         String startKey,
         String endKey)implementation shared with deprecated HLogInputFormat | 
private static final org.slf4j.Logger LOG
public static final String START_TIME_KEY
public static final String END_TIME_KEY
public WALInputFormat()
public List<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext context) throws IOException, InterruptedException
getSplits in class org.apache.hadoop.mapreduce.InputFormat<WALKey,WALEdit>IOExceptionInterruptedExceptionList<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext context, String startKey, String endKey) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprivate org.apache.hadoop.fs.Path[] getInputPaths(org.apache.hadoop.conf.Configuration conf)
private List<org.apache.hadoop.fs.FileStatus> getFiles(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dir, long startTime, long endTime) throws IOException
IOExceptionpublic org.apache.hadoop.mapreduce.RecordReader<WALKey,WALEdit> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
createRecordReader in class org.apache.hadoop.mapreduce.InputFormat<WALKey,WALEdit>IOExceptionInterruptedExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.