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

Scott Carey commented on AVRO-593:
----------------------------------

{quote}I discussed that above. We could move it, but we'd still need a shim in 
o.a.h.io, since the subclass accesses package-private bits.{quote}

Let me clarify:  Is it possible for AvroSequenceFile to not reference anything 
in o.a.hadoop.** or o.a.a.{mapreduce, hadoop, mapred}.** ? 

It has:
{code}
import org.apache.avro.mapred.AvroKey;
import org.apache.avro.mapred.AvroValue;
{code}

which would indicate to me that it must be in o.a.a.mapred.

If it is in o.a.a it must not reference any classes that don't exist in the 
base avro module that encompases o.a.a (lang/java/avro)


Ideally, anything in the .io, .util, and .file packages does not reference the 
.mapred or .mapreduce packages, so that this can be packaged as a standalone 
hadoop dependency down the road.  I have not looked at all those yet to see 
what the package dependencies are.
                
> Avro mapreduce apis incompatible with hadoop 0.20.2
> ---------------------------------------------------
>
>                 Key: AVRO-593
>                 URL: https://issues.apache.org/jira/browse/AVRO-593
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.3.2, 1.3.3
>         Environment: Avro 1.3.3, Hadoop 0.20.2
>            Reporter: Steve Severance
>            Assignee: Garrett Wu
>         Attachments: AVRO-593.patch, AVRO-593.patch
>
>
> The avro api's for hadoop use the hadoop mapreduce api that has been 
> deprecated. A new avro mapreduce api should be implemented for hadoop 0.20 
> and higher.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to