List of usage examples for org.apache.hadoop.mapred SequenceFileAsTextRecordReader SequenceFileAsTextRecordReader
public SequenceFileAsTextRecordReader(Configuration conf, FileSplit split) throws IOException
From source file:ml.shifu.guagua.hadoop.io.GuaguaSequenceAsTextRecordReader.java
License:Apache License
@Override public void initialize(GuaguaFileSplit split) throws IOException { FileSplit fileSplit = new FileSplit(new Path(split.getPath()), split.getOffset(), split.getLength(), (String[]) null);/* w w w . j a v a 2 s . co m*/ this.sequenceReader = new SequenceFileAsTextRecordReader(conf, fileSplit); }