Class DummyErasureDecoder
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.io.erasurecode.coder.ErasureDecoder
org.apache.hadoop.io.erasurecode.coder.DummyErasureDecoder
- All Implemented Interfaces:
Configurable,ErasureCoder
Dummy erasure decoder does no real computation. Instead, it just returns
zero bytes. This decoder can be used to isolate the performance issue to
HDFS side logic instead of codec, and is intended for test only.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ErasureCodingStepprepareDecodingStep(ECBlockGroup blockGroup) Perform decoding against a block blockGroup.Methods inherited from class org.apache.hadoop.io.erasurecode.coder.ErasureDecoder
calculateCoding, getErasedIndexes, getInputBlocks, getNumDataUnits, getNumErasedBlocks, getNumErasedBlocks, getNumParityUnits, getOptions, getOutputBlocks, preferDirectBuffer, releaseMethods 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
-
DummyErasureDecoder
-
-
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
-