[
https://issues.apache.org/jira/browse/PIG-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Dai resolved PIG-3905.
-----------------------------
Resolution: Fixed
Fix Version/s: 0.13.0
Assignee: Daniel Dai
Hadoop Flags: Reviewed
Compilation fail only when use a local maven repository. Commit to trunk first.
Also the fix speeds up the compilation.
> 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
> Assignee: Daniel Dai
> Priority: Blocker
> Fix For: 0.13.0
>
> 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)