use of org.apache.hadoop.io.erasurecode.rawcoder.DummyRawEncoder in project hadoop by apache.
the class DummyErasureEncoder method prepareEncodingStep.
@Override
protected ErasureCodingStep prepareEncodingStep(ECBlockGroup blockGroup) {
RawErasureEncoder rawEncoder = new DummyRawEncoder(getOptions());
ECBlock[] inputBlocks = getInputBlocks(blockGroup);
return new ErasureEncodingStep(inputBlocks, getOutputBlocks(blockGroup), rawEncoder);
}
Aggregations