[
https://issues.apache.org/jira/browse/PIG-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213801#comment-13213801
]
Alejandro Abdelnur commented on PIG-2546:
-----------------------------------------
I was able to build/mvn-install pig using the -Dhadoopversion=23 flag and test
it with Oozie/trunk and Hadoop/trunk.
I guess the required changes in the build is to postfix the -23 to the version
and to push that to the Apache Maven repo.
And then, the jenkins job that pushes the JARs to the Apache Maven repo should
run twice, once for Hadoop 1.x and once for Hadoop 0.23.
> build and publish Pig artifacts compiled against Hadoop 0.23
> ------------------------------------------------------------
>
> Key: PIG-2546
> URL: https://issues.apache.org/jira/browse/PIG-2546
> Project: Pig
> Issue Type: Task
> Components: build
> Affects Versions: 0.9.2
> Reporter: Alejandro Abdelnur
> Priority: Critical
> Fix For: 0.9.2
>
>
> The pig JAR available in Apache Maven repo has been compiled with a version
> of Hadoop prior to 0.23.
> This JAR cannot be used to run Pig against Hadoop 0.23 because of changes in
> the JobControl API [ie the JobControl.addJob(Job) method now is
> JobControl.addJob(ControlledJob), and while Job implements ControlledJob,
> because ControlledJob is an interface, the generated bytecode for the
> signature is different).
> I assume we'll need 2 different versions of the JARs, one for pre 0.23 and
> one for post 0.23.
> This affects Oozie integration with Hadoop 0.23
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira