You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Niels Basjes (JIRA)" <ji...@apache.org> on 2016/09/15 08:50:20 UTC

[jira] [Updated] (AVRO-1916) Building python version uses wrong version avro-tools.

     [ https://issues.apache.org/jira/browse/AVRO-1916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niels Basjes updated AVRO-1916:
-------------------------------
    Description: 
During {{./build.sh test}} I see this during the build of {{lang/py}}
{code}
[ivy:retrieve] 	found org.apache.avro#avro-tools;1.9.0-SNAPSHOT in apache-snapshots
[ivy:retrieve] downloading https://repository.apache.org/content/groups/snapshots/org/apache/avro/avro-tools/1.9.0-SNAPSHOT/avro-tools-1.9.0-20160122.173016-35.jar ...
{code}

So apparently the py build phase uses an external version of avro-tools.
What if I just updated avro-tools? Then it is quite possible the test will pass while in reality it should have failed.

I suspect the fix can be as simple as doing a {{mvn install}} on the java avro-tools before building/testing the rest of the languages.

  was:
During {{./build.sh test}} I see this during the build of {{lang/py}}
{code}
[ivy:retrieve] 	found org.apache.avro#avro-tools;1.9.0-SNAPSHOT in apache-snapshots
[ivy:retrieve] downloading https://repository.apache.org/content/groups/snapshots/org/apache/avro/avro-tools/1.9.0-SNAPSHOT/avro-tools-1.9.0-20160122.173016-35.jar ...
{code}

So apparently the py build phase uses an external version of avro-tools.
What if I just updated avro-tools? Then it is quite possible the test will pass while in reality it should have failed.




> Building python version uses wrong version avro-tools.
> ------------------------------------------------------
>
>                 Key: AVRO-1916
>                 URL: https://issues.apache.org/jira/browse/AVRO-1916
>             Project: Avro
>          Issue Type: Bug
>            Reporter: Niels Basjes
>
> During {{./build.sh test}} I see this during the build of {{lang/py}}
> {code}
> [ivy:retrieve] 	found org.apache.avro#avro-tools;1.9.0-SNAPSHOT in apache-snapshots
> [ivy:retrieve] downloading https://repository.apache.org/content/groups/snapshots/org/apache/avro/avro-tools/1.9.0-SNAPSHOT/avro-tools-1.9.0-20160122.173016-35.jar ...
> {code}
> So apparently the py build phase uses an external version of avro-tools.
> What if I just updated avro-tools? Then it is quite possible the test will pass while in reality it should have failed.
> I suspect the fix can be as simple as doing a {{mvn install}} on the java avro-tools before building/testing the rest of the languages.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)