Search in sources :

Example 1 with LineRecordReader

use of org.apache.hadoop.mapred.LineRecordReader in project hive by apache.

the class Base64TextInputFormat method getRecordReader.

public RecordReader<LongWritable, BytesWritable> getRecordReader(InputSplit genericSplit, JobConf job, Reporter reporter) throws IOException {
    reporter.setStatus(genericSplit.toString());
    Base64LineRecordReader reader = new Base64LineRecordReader(new LineRecordReader(job, (FileSplit) genericSplit));
    reader.configure(job);
    return reader;
}
Also used : LineRecordReader(org.apache.hadoop.mapred.LineRecordReader) FileSplit(org.apache.hadoop.mapred.FileSplit)

Aggregations

FileSplit (org.apache.hadoop.mapred.FileSplit)1 LineRecordReader (org.apache.hadoop.mapred.LineRecordReader)1