@Override
    public boolean nextKeyValue() throws IOException, InterruptedException {
      if (!reader.nextKeyValue()) {
        return false;
      }
      key = new Text();
      value = new jBLASArrayWritable();

      key = reader.getCurrentKey();
      value = reader.getCurrentValue();
      return true;
    }
    @Override
    public void initialize(InputSplit split, TaskAttemptContext context)
        throws IOException, InterruptedException {
      reader = new SequenceFileRecordReader<Text, jBLASArrayWritable>();
      key = new Text();
      value = new jBLASArrayWritable();

      reader.initialize(split, context);
    }
 @Override
 public float getProgress() throws IOException, InterruptedException {
   return reader.getProgress();
 }
 @Override
 public void close() throws IOException {
   reader.close();
 }