Search in sources :

Example 1 with DummyRawDecoder

use of org.apache.hadoop.io.erasurecode.rawcoder.DummyRawDecoder in project hadoop by apache.

the class DummyErasureDecoder method prepareDecodingStep.

@Override
protected ErasureCodingStep prepareDecodingStep(ECBlockGroup blockGroup) {
    RawErasureDecoder rawDecoder = new DummyRawDecoder(getOptions());
    ECBlock[] inputBlocks = getInputBlocks(blockGroup);
    return new ErasureDecodingStep(inputBlocks, getErasedIndexes(inputBlocks), getOutputBlocks(blockGroup), rawDecoder);
}
Also used : RawErasureDecoder(org.apache.hadoop.io.erasurecode.rawcoder.RawErasureDecoder) DummyRawDecoder(org.apache.hadoop.io.erasurecode.rawcoder.DummyRawDecoder) ECBlock(org.apache.hadoop.io.erasurecode.ECBlock)

Aggregations

ECBlock (org.apache.hadoop.io.erasurecode.ECBlock)1 DummyRawDecoder (org.apache.hadoop.io.erasurecode.rawcoder.DummyRawDecoder)1 RawErasureDecoder (org.apache.hadoop.io.erasurecode.rawcoder.RawErasureDecoder)1