Yi Liu created HADOOP-11908:
-------------------------------

             Summary: Erasure coding: Should be able to encode part of parity 
blocks.
                 Key: HADOOP-11908
                 URL: https://issues.apache.org/jira/browse/HADOOP-11908
             Project: Hadoop Common
          Issue Type: Sub-task
            Reporter: Yi Liu
            Assignee: Yi Liu


{code}
public void encode(ByteBuffer[] inputs, ByteBuffer[] outputs);
{code}
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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to