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

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

When I apply this patch and run, 'mvn test -Dtest=TestAvroMultipleOutputs' it 
fails with "java.lang.ClassNotFoundException: 
org.apache.hadoop.mapreduce.task.TaskAttemptContext".  When I add 
'-Dhadoop.version=2' then tests pass.  When I change this to 
'-Dhadoop.version=1", compilation fails.
                
> 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
>            Assignee: Tom White
>         Attachments: AVRO-1170.patch, AVRO-1170.patch, 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