[ 
https://issues.apache.org/jira/browse/HDFS-9603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15145556#comment-15145556
 ] 

Kai Sasaki commented on HDFS-9603:
----------------------------------

[~zhz] Thanks for clarifying! I'm not familiar with HH deeply, but HH seems 
require multiple stripes to reconstruct a stripe. So I think HH does not fit to 
current {{ECBlockGroup}} interface. Even if using {{ECBlockGroup}}, we will 
need to change it when adapting HH algorithm. It is reasonable to keep using 
raw coders for now because hflush/hsync is important to reliable operation to 
HDFS.

{quote}
1. Supporting multiple EC policies
{quote}
Does it mean we will support other coding algorithm such as HH or other stripe 
configuration such as RS-10-4, RS-3-2?

> Erasure Coding: Use ErasureCoder to encode/decode a block group
> ---------------------------------------------------------------
>
>                 Key: HDFS-9603
>                 URL: https://issues.apache.org/jira/browse/HDFS-9603
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Rui Li
>            Assignee: Rui Li
>         Attachments: HDFS-9603.1.patch, HDFS-9603.2.patch, HDFS-9603.3.patch
>
>
> According to design, {{ErasureCoder}} is responsible to encode/decode a block 
> group. Currently however, we directly use {{RawErasureCoder}} to do the work, 
> e.g. in {{DFSStripedOutputStream}}. This task attempts to encapsulate 
> {{RawErasureCoder}} to comply with the design.



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

Reply via email to