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

Kai Zheng commented on HDFS-9603:
---------------------------------

bq. I used the concrete class because we already have methods like 
CodecUtil::createRSRawEncoder
You told the key point. That's why we would need this, in raw coder level we're 
just unable to plugin different coder without changing HDFS codes.

bq. shall we make ECBlock abstract and and API like getECChunks
A good point to add the abstract getECChunks method in ECBlock! Thanks.

> 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
>
>
> 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