| Package | Description |
|---|---|
| org.apache.hadoop.io.erasurecode | |
| org.apache.hadoop.io.erasurecode.coder |
Erasure coders framework.
|
| org.apache.hadoop.io.erasurecode.coder.util | |
| org.apache.hadoop.io.erasurecode.rawcoder |
Raw erasure coders.
|
| Modifier and Type | Method | Description |
|---|---|---|
static RawErasureEncoder |
CodecUtil.createRawEncoder(Configuration conf,
java.lang.String codec,
ErasureCoderOptions coderOptions) |
Create RS raw encoder according to configuration.
|
| Constructor | Description |
|---|---|
ErasureEncodingStep(ECBlock[] inputBlocks,
ECBlock[] outputBlocks,
RawErasureEncoder rawEncoder) |
The constructor with all the necessary info.
|
HHXORErasureDecodingStep(ECBlock[] inputBlocks,
int[] erasedIndexes,
ECBlock[] outputBlocks,
RawErasureDecoder rawDecoder,
RawErasureEncoder rawEncoder) |
The constructor with all the necessary info.
|
HHXORErasureEncodingStep(ECBlock[] inputBlocks,
ECBlock[] outputBlocks,
RawErasureEncoder rsRawEncoder,
RawErasureEncoder xorRawEncoder) |
The constructor with all the necessary info.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.nio.ByteBuffer[] |
HHUtil.getPiggyBacksFromInput(java.nio.ByteBuffer[] inputs,
int[] piggyBackIndex,
int numParityUnits,
int pgIndex,
RawErasureEncoder encoder) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
DummyRawEncoder |
A dummy raw encoder that does no real computation.
|
class |
NativeRSRawEncoder |
A Reed-Solomon raw encoder using Intel ISA-L library.
|
class |
NativeXORRawEncoder |
A XOR raw encoder using Intel ISA-L library.
|
class |
RSLegacyRawEncoder |
A raw erasure encoder in RS code scheme in pure Java in case native one
isn't available in some environment.
|
class |
RSRawEncoder |
A raw erasure encoder in RS code scheme in pure Java in case native one
isn't available in some environment.
|
class |
XORRawEncoder |
A raw encoder in XOR code scheme in pure Java, adapted from HDFS-RAID.
|
| Modifier and Type | Method | Description |
|---|---|---|
RawErasureEncoder |
DummyRawErasureCoderFactory.createEncoder(ErasureCoderOptions coderOptions) |
|
RawErasureEncoder |
NativeRSRawErasureCoderFactory.createEncoder(ErasureCoderOptions coderOptions) |
|
RawErasureEncoder |
NativeXORRawErasureCoderFactory.createEncoder(ErasureCoderOptions coderOptions) |
|
RawErasureEncoder |
RawErasureCoderFactory.createEncoder(ErasureCoderOptions coderOptions) |
Create raw erasure encoder.
|
RawErasureEncoder |
RSLegacyRawErasureCoderFactory.createEncoder(ErasureCoderOptions coderOptions) |
|
RawErasureEncoder |
RSRawErasureCoderFactory.createEncoder(ErasureCoderOptions coderOptions) |
|
RawErasureEncoder |
XORRawErasureCoderFactory.createEncoder(ErasureCoderOptions coderOptions) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.