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

Doug Cutting commented on AVRO-1170:
------------------------------------

For the createTaskAttemptContext stuff we should add a comment explaining the 
purpose of this, to work around incompatible API changes.

For the pom.xml changes, note that the parent pom.xml sets the default version 
for Hadoop in Avro to 0.20.205.0, so the change here is only for the mapred 
module, not for the other modules that depend on hadoop (tools and trevni).  
Perhaps that's intended, so that we end up testing against both versions of 
Hadoop.  If so, we should add a comment to that effect.  If its not intended 
then the version should probably be set in the parent pom.xml.  That said, we 
should not add a dependency on a SNAPSHOT pom, so we'll probably not commit 
this until there's a Hadoop release that contains the required changes or we 
figure out another way to fix this.
                
> Avro's new mapreduce APIs don't work with Hadoop 2
> --------------------------------------------------
>
>                 Key: AVRO-1170
>                 URL: https://issues.apache.org/jira/browse/AVRO-1170
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.1
>            Reporter: Tom White
>         Attachments: AVRO-1170.patch
>
>
> Avro does not compile against Hadoop since some interfaces were changed to 
> classes between Hadoop 1 and 2 (e.g. TaskAttemptContext).

--
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

Reply via email to