[ 
https://issues.apache.org/jira/browse/HADOOP-12924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rui Li updated HADOOP-12924:
----------------------------
    Attachment: HADOOP-12924.4.patch

Update patch based on my offline discussion with Kai:
1. Add assertion that conf != null when creating the raw coders. And changes 
some tests accordingly.
2. Add getCodecName to ErasureCodingPolicy.
3. If the codec name is unknown, consider it a custom codec and get a raw coder 
config key for it. Throw an exception if such a key is not configured. 
Otherwise create the raw coder using the configured raw coder factory.
4. Add a test to test the codec to raw coder mapping.

> 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
>              Labels: hdfs-ec-3.0-must-do
>         Attachments: HADOOP-12924.1.patch, HADOOP-12924.2.patch, 
> HADOOP-12924.3.patch, HADOOP-12924.4.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