hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11707) Add factory to create raw erasure coder
Date Wed, 18 Mar 2015 05:45:38 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-11707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14366680#comment-14366680

Uma Maheswara Rao G commented on HADOOP-11707:

Seems like too many factories here. :-)
How about we just instantiate the corresponding coder object from a factory based on the type
passed while calling createEndoder or createDecoder api ?

> Add factory to create raw erasure coder
> ---------------------------------------
>                 Key: HADOOP-11707
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11707
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: io
>            Reporter: Kai Zheng
>            Assignee: Kai Zheng
>             Fix For: HDFS-7285
>         Attachments: HADOOP-11707-v1.patch
> We have {{RawErasureEncoder}} and {{RawErasureDecoder}} interface separately, which simplifies
the implementation of raw coders. This would require to configure raw encoder and decoder
respectively for a {{ErasureCoder}}, which isn't convenient. To simplify the configuration,
we would have coder factory to group encoder and decoder together so only a factory class
needs to be configured.

This message was sent by Atlassian JIRA

View raw message