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

Daniel Dai updated PIG-3905:
----------------------------

    Attachment: PIG-3905-2.patch

The previous patch is not proper. conf hadoop20/hadoop23 only resolves Hadoop 
specific jars. Should use conf compile which extends hadoop20/hadoop23 depends 
on hadoopversion and include general jars. Attach patch.

> 0.12.1 release can't be build for Hadoop2
> -----------------------------------------
>
>                 Key: PIG-3905
>                 URL: https://issues.apache.org/jira/browse/PIG-3905
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.12.1
>            Reporter: Konstantin Boudnik
>            Priority: Blocker
>         Attachments: PIG-3905-1.patch, PIG-3905-2.patch
>
>
> While building Pig against {{hadoopversion=23}},  attempts to resolve 
> {{hadoop-core}} dependency no matter what. The root cause of the bug is the 
> following lines in ivy.xml
> {noformat}
>     <dependency org="com.sun.jersey" name="jersey-core" 
> rev="${jersey-core.version}"
>       conf="hadoop20->default"/>
>     <dependency org="org.apache.hadoop" name="hadoop-core" 
> rev="${hadoop-core.version}"
>       conf="hadoop20->default"/>
>     <dependency org="org.apache.hadoop" name="hadoop-test" 
> rev="${hadoop-test.version}"
>       conf="hadoop20->default"/>
> {noformat}
> hadoop20 configuration is getting evaluated _always_. Unless a build machine 
> has dirty local .m2 repository, the build will fail.
> The bug blocks BIGTOP-1110



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to