WALInputFormat@Deprecated @InterfaceAudience.Public public class HLogInputFormat extends org.apache.hadoop.mapreduce.InputFormat<HLogKey,WALEdit>
InputFormat for WAL files.| Modifier and Type | Field and Description |
|---|---|
static String |
END_TIME_KEY
Deprecated.
|
static String |
START_TIME_KEY
Deprecated.
|
| Constructor and Description |
|---|
HLogInputFormat()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.RecordReader<HLogKey,WALEdit> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
Deprecated.
|
List<org.apache.hadoop.mapreduce.InputSplit> |
getSplits(org.apache.hadoop.mapreduce.JobContext context)
Deprecated.
|
public static final String START_TIME_KEY
public static final String END_TIME_KEY
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<HLogKey,WALEdit>IOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.RecordReader<HLogKey,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<HLogKey,WALEdit>IOExceptionInterruptedExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.