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

Kai Zheng commented on HADOOP-12924:
------------------------------------

OK, it won't be bad to have a policy for the legacy coder, since we would have 
one for the dummy coder. So, what's needed for now would be, a mapping between 
{{codec-name}} and {{raw-coder-factory-class}}. In the original design by 
HDFS-7337, it would be done by {{ErasureCodec}}, but for phase 1 and right now, 
for simple we can have a simple enum or hard-coded mapping codes somewhere. For 
the legacy and dummy policies, we just hard-code the raw-coder-factory class; 
for the default RS policy, in addition to the hard-coded default raw coder, we 
allow to configure the class just as current code does using the default coder 
key. Sounds good?

> Add default coder key for creating raw coders
> ---------------------------------------------
>
>                 Key: HADOOP-12924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12924
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Rui Li
>            Assignee: Rui Li
>            Priority: Minor
>         Attachments: HADOOP-12924.1.patch
>
>
> As suggested 
> [here|https://issues.apache.org/jira/browse/HADOOP-12826?focusedCommentId=15194402&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15194402].



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

Reply via email to