hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9216) CompressionCodecFactory#getCodecClasses should trim the result of parsing by Configuration.
Date Thu, 17 Jan 2013 14:06:28 GMT

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

Hudson commented on HADOOP-9216:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1316 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1316/])
    HADOOP-9216. CompressionCodecFactory#getCodecClasses should trim the result of parsing
by Configuration. Contributed by Tsuyoshi Ozawa. (Revision 1434569)

     Result = FAILURE
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1434569
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/CompressionCodecFactory.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/TestCodecFactory.java

                
> 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

Mime
View raw message