hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9216) CompressionCodecFactory#getCodecClasses should trim the result of parsing by Configuration.
Date Tue, 15 Jan 2013 21:24:12 GMT

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

Tsuyoshi OZAWA updated HADOOP-9216:
-----------------------------------

    Description: 
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.

  was:
CompressionCodecFactory#getCodecClasses doesn't trim its input.
This can confuse users of CompressionCodecFactory.

    
> 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

Mime
View raw message