hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6996) Allow CodecFactory to return a codec object given a codec' class name
Date Fri, 22 Oct 2010 19:12:16 GMT

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

Hadoop QA commented on HADOOP-6996:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12456881/getCodecByClassName.patch
  against trunk revision 1022697.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    -1 patch.  The patch command could not apply the patch.

Console output: http://hudson.zones.apache.org/hudson/job/PreCommit-HADOOP-Build/2/console

This message is automatically generated.

> Allow CodecFactory to return a codec object given a codec' class name
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-6996
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6996
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: io
>    Affects Versions: 0.22.0
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.22.0
>
>         Attachments: getCodecByClassName.patch
>
>
> CodecFactory specify the list of codec that are supported by Hadoop. However, it returns
a codec only by a file's name. I would like to make getCodec method to alternatively take
a codec's class name.
> This is required by  HDFS-1435, where
> 1. it allows an HDFS admin to configure which codec to use to save an image. 
> 2. It stores the codec class name in its on-disk image instead of a file's suffix.
> When saving and reading an image, I'd like to get an codec from CodecFactory by its class
name. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message