You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2013/01/14 15:34:13 UTC
[jira] [Updated] (AVRO-1230) avro-mapred-1.7.3-hadoop1.jar does not
work with Hadoop 1
[ https://issues.apache.org/jira/browse/AVRO-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom White updated AVRO-1230:
----------------------------
Attachment: AVRO-1230.patch
Yes, I've now updated the mapred binary artifacts so they are the same as the ones in Maven.
The underlying problem is in build.sh, where {{mvn package}} is called twice, first for Hadoop 2, then for Hadoop 1, but the source is not recompiled for Hadoop 1 since the class files (from compiling against Hadoop 2) are still present. The attached patch fixes this by removing the Hadoop 2 class files (but not the JAR files). I tested this by observing that the two Hadoop JARs are the same without the patch, but they differ (and have the expected javap decompilations) with the patch.
> avro-mapred-1.7.3-hadoop1.jar does not work with Hadoop 1
> ---------------------------------------------------------
>
> Key: AVRO-1230
> URL: https://issues.apache.org/jira/browse/AVRO-1230
> Project: Avro
> Issue Type: Bug
> Components: java
> Reporter: Tom White
> Assignee: Tom White
> Priority: Blocker
> Fix For: 1.7.4
>
> Attachments: AVRO-1230.patch
>
>
> See report here: https://issues.apache.org/jira/browse/AVRO-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13550789#comment-13550789
--
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