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 "Todd Lipcon (JIRA)" <ji...@apache.org> on 2013/01/16 02:47:11 UTC

[jira] [Commented] (HADOOP-9216) CompressionCodecFactory#getCodecClasses should trim the result of parsing by Configuration.

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

Todd Lipcon commented on HADOOP-9216:
-------------------------------------

Looks good to me. +1 pending Jenkins.
                
> CompressionCodecFactory#getCodecClasses should trim the result of parsing by Configuration.
> -------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9216
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9216
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 3.0.0, 2.0.3-alpha, 0.23.6
>            Reporter: Tsuyoshi OZAWA
>         Attachments: HADOOP-9216.patch
>
>
> CompressionCodecFactory#getCodecClasses doesn't trim its input.
> This can confuse users of CompressionCodecFactory. For example, The setting as follows can cause error because of spaces in the values.
> {quote}
>      conf.set("io.compression.codecs", 
>         "  org.apache.hadoop.io.compress.GzipCodec , " +
>         " org.apache.hadoop.io.compress.DefaultCodec  , " +
>         "org.apache.hadoop.io.compress.BZip2Codec   ");
> {quote}
> This ticket deals with this problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira