[ https://issues.apache.org/jira/browse/HADOOP-11908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yi Liu resolved HADOOP-11908. ----------------------------- Resolution: Duplicate > 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 > Components: io > Reporter: Yi Liu > Assignee: Kai Zheng > > {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)