[ https://issues.apache.org/jira/browse/HDFS-9603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15082210#comment-15082210 ]
Rui Li commented on HDFS-9603: ------------------------------ Thanks Kai for the review. I used the concrete class because we already have methods like {{CodecUtil::createRSRawEncoder}}. But I agree we can wait until HitchHicker coder gets in. Then we can figure out how to create different coders according to configurations. The star import wasn't introduced in this patch. I can fix it anyway. > 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)