hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-7323) Add capability to resolve compression codec based on codec name
Date Tue, 24 May 2011 18:44:47 GMT

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

Alejandro Abdelnur updated HADOOP-7323:
---------------------------------------

    Attachment: HADOOP-7323b.patch

Thanks Tom.

I've updated the Javadocs.

I've also improved the alias resolution to resolve to the short class name, both with 'codec'
ending and without 'codec' ending.

This means that the aliases for GzipCodec are 'gzip' and 'gzipcodec' (both case insensitive)

> Add capability to resolve compression codec based on codec name
> ---------------------------------------------------------------
>
>                 Key: HADOOP-7323
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7323
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.21.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-7323.patch, HADOOP-7323b.patch
>
>
> When setting up a compression codec in an MR job the full class name of the codec must
be used.
> To ease usability, compression codecs should be resolved by their codec name (ie 'gzip',
'deflate', 'zlib', 'bzip2') instead their full codec class name.
> Besides easy of use for Hadoop users who would use the codec alias instead the full codec
class name, it could simplify how HBase resolves loads the codecs.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message