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

Tom White commented on AVRO-1230:
---------------------------------

To try to reproduce this I ran the following commands from the top-level of an 
Avro checkout:

{noformat}
mvn clean -P dist,sign deploy -DskipTests=true -Dhadoop.version=2 
-Dgpg.passphrase=xxx -Davro.version=1.7.4-SNAPSHOT 
-DaltDeploymentRepository=mine::default::file:///tmp/myrepo
mvn clean -P dist,sign deploy -DskipTests=true -Dgpg.passphrase=xxx 
-Davro.version=1.7.4-SNAPSHOT 
-DaltDeploymentRepository=mine::default::file:///tmp/myrepo
{noformat}

This simulates the steps in 
https://cwiki.apache.org/confluence/display/AVRO/How+To+Release, but publishing 
to a local repo.

The two versions of AvroKeyValueOutputFormat  in the JAR files in /tmp/myrepo/ 
were correct according to javap. E.g. for the hadoop1 JAR:

{noformat}
% javap -c -classpath . org/apache/avro/mapreduce/AvroKeyValueOutputFormat
...
   5:   invokevirtual   #3; //Method 
org/apache/hadoop/mapreduce/TaskAttemptContext.getConfiguration:()Lorg/apache/hadoop/conf/Configuration;
...
{noformat}

I guess the next thing to try is publish to Nexus and see if the files are 
different there.
                
> 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
>            Priority: Blocker
>             Fix For: 1.7.4
>
>
> 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

Reply via email to