Class RSErasureDecoder
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.io.erasurecode.coder.ErasureDecoder
org.apache.hadoop.io.erasurecode.coder.RSErasureDecoder
- All Implemented Interfaces:
Configurable,ErasureCoder
Reed-Solomon erasure decoder that decodes a block group.
It implements
ErasureCoder.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ErasureCodingStepprepareDecodingStep(ECBlockGroup blockGroup) Perform decoding against a block blockGroup.voidrelease()Release the resources if any.Methods inherited from class org.apache.hadoop.io.erasurecode.coder.ErasureDecoder
calculateCoding, getErasedIndexes, getInputBlocks, getNumDataUnits, getNumErasedBlocks, getNumErasedBlocks, getNumParityUnits, getOptions, getOutputBlocks, preferDirectBufferMethods inherited from class org.apache.hadoop.conf.Configured
getConf, setConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
-
Constructor Details
-
RSErasureDecoder
-
-
Method Details
-
prepareDecodingStep
Description copied from class:ErasureDecoderPerform decoding against a block blockGroup.- Specified by:
prepareDecodingStepin classErasureDecoder- Parameters:
blockGroup- blockGroup.- Returns:
- decoding step for caller to do the real work
-
release
public void release()Description copied from interface:ErasureCoderRelease the resources if any. Good chance to invoke RawErasureCoder#release.- Specified by:
releasein interfaceErasureCoder- Overrides:
releasein classErasureDecoder
-