Changes needed to contrib/piggybank/java/build.xml in order to build
piggybank.jar with Hadoop 0.23
---------------------------------------------------------------------------------------------------
Key: PIG-2501
URL: https://issues.apache.org/jira/browse/PIG-2501
Project: Pig
Issue Type: Sub-task
Components: piggybank
Affects Versions: 0.11
Reporter: Eugene Koontz
Fix For: 0.11
I am interested in building pig with Hadoop 0.23, so I added the following
top-level {{build.properties}} file:
{noformat}
hadoopversion=23
{noformat}
I found that, with this environment {{ant clean piggybank}} does not succeed,
despite the presence of PIG-2410. I get the following errors (other errors
beyond first removed for brevity):
{noformat}
compile:
[echo] *** Compiling Pig UDFs ***
[javac] /home/eugene/pig/contrib/piggybank/java/build.xml:90: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to
false for repeatable builds
[javac] Compiling 159 source files to
/home/eugene/pig/contrib/piggybank/java/build/classes
[javac]
/home/eugene/pig/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/evaluation/ExtremalTupleByNthField.java:23:
cannot find symbol
[javac] symbol : class Accumulator
[javac] location: package org.apache.pig
[javac] import org.apache.pig.Accumulator;
[javac] ^
{noformat}
--
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