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/17 08:24:23 UTC
[jira] [Assigned] (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:all-tabpanel ]
Todd Lipcon reassigned HADOOP-9216:
-----------------------------------
Assignee: Tsuyoshi OZAWA
> 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
> Assignee: Tsuyoshi OZAWA
> Fix For: 3.0.0, 2.0.3-alpha
>
> 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