hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Zheng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9603) Erasure Coding: Use ErasureCoder to encode/decode a block group
Date Tue, 05 Jan 2016 02:04:39 GMT

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

Mime
View raw message