Description
public void encode(ByteBuffer[] inputs, ByteBuffer[] outputs);
Currently when we do encode, the outputs are all parity blocks, we should be able to encode part of parity blocks.
This is required when we do datanode striped block recovery, if one or more parity blocks are missed, we need to do encode to recovery them. Only encode part of parity blocks should be more efficient than all.
Attachments
Issue Links
- duplicates
-
HADOOP-11847 Enhance raw coder allowing to read least required inputs in decoding
- Resolved