You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org> on 2015/04/15 15:55:00 UTC

[jira] [Commented] (HADOOP-11834) Add ErasureCodecFactory to create ErasureCodec using codec's short name.

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

Uma Maheswara Rao G commented on HADOOP-11834:
----------------------------------------------

I remember we discussed this point while adding factory implementations here. The difficulty here is user can configure their own Codec impls. In this short name case again we need to change this factory for creating new instance.

[~drankye] do you remember any other reasons why we did not handle in that way? 

But thanks for filing JIRA, so that we can discuss further for better options.

> Add ErasureCodecFactory to create ErasureCodec using codec's short name.
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-11834
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11834
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: io
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>
> Using Codec's shortname Codec instance should be create.
> such as, using name "rs" {{RSErasureCodec}} should be created.



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

Re: [jira] [Commented] (HADOOP-11834) Add ErasureCodecFactory to create ErasureCodec using codec's short name.

Posted by Vinayakumar B <vi...@apache.org>.
For every impl. A conf in predefined format with shortname as suffix could
be confogured.
Similar to how Filesystem impls are loaded based on schema.
On Apr 15, 2015 7:25 PM, "Uma Maheswara Rao G (JIRA)" <ji...@apache.org>
wrote:

>
>     [
> https://issues.apache.org/jira/browse/HADOOP-11834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14496195#comment-14496195
> ]
>
> Uma Maheswara Rao G commented on HADOOP-11834:
> ----------------------------------------------
>
> I remember we discussed this point while adding factory implementations
> here. The difficulty here is user can configure their own Codec impls. In
> this short name case again we need to change this factory for creating new
> instance.
>
> [~drankye] do you remember any other reasons why we did not handle in that
> way?
>
> But thanks for filing JIRA, so that we can discuss further for better
> options.
>
> > Add ErasureCodecFactory to create ErasureCodec using codec's short name.
> > ------------------------------------------------------------------------
> >
> >                 Key: HADOOP-11834
> >                 URL: https://issues.apache.org/jira/browse/HADOOP-11834
> >             Project: Hadoop Common
> >          Issue Type: Sub-task
> >          Components: io
> >            Reporter: Vinayakumar B
> >            Assignee: Vinayakumar B
> >
> > Using Codec's shortname Codec instance should be create.
> > such as, using name "rs" {{RSErasureCodec}} should be created.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>