WALInputFormat
@Deprecated @InterfaceAudience.Public public class HLogInputFormat extends org.apache.hadoop.mapreduce.InputFormat<HLogKey,WALEdit>
InputFormat
for WAL
files.Modifier and Type | Class and Description |
---|---|
(package private) static class |
HLogInputFormat.HLogKeyRecordReader
Deprecated.
RecordReader that pulls out the legacy HLogKey format directly. |
Modifier and Type | Field and Description |
---|---|
private WALInputFormat |
delegate
Deprecated.
|
static String |
END_TIME_KEY
Deprecated.
|
private static org.apache.commons.logging.Log |
LOG
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.
|
private static final org.apache.commons.logging.Log LOG
public static final String START_TIME_KEY
public static final String END_TIME_KEY
private final WALInputFormat delegate
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>
IOException
InterruptedException
public 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>
IOException
InterruptedException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.