[
https://issues.apache.org/jira/browse/HADOOP-7323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038326#comment-13038326
]
Tom White commented on HADOOP-7323:
-----------------------------------
This looks good. The only nit I noticed is that the javadoc on codecsByName in
CompressionCodecFactory is incorrect.
> 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
>
>
> 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