Description
Came across this issue:
ant -Dhadoopversion=20 jar pigunit-jar
compile-test: [echo] *** Building Test Sources *** [echo] *** To compile with all warnings enabled, supply -Dall.warnings=1 on command line *** [echo] *** Else, you will only be warned about deprecations *** [javac] Compiling 47 source files to /Users/szita/shadow/CDH/pig/build/test/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7 [javac] /Users/szita/shadow/CDH/pig/test/org/apache/pig/impl/builtin/TestHiveUDTF.java:20: error: package org.apache.commons.collections4 does not exist [javac] import org.apache.commons.collections4.IteratorUtils; [javac] ^ [javac] /Users/szita/shadow/CDH/pig/test/org/apache/pig/impl/builtin/TestHiveUDTF.java:66: error: cannot find symbol [javac] List<Tuple> out = IteratorUtils.toList(result); [javac] ^ [javac] symbol: variable IteratorUtils [javac] location: class TestHiveUDTF [javac] /Users/szita/shadow/CDH/pig/test/org/apache/pig/impl/builtin/TestHiveUDTF.java:88: error: cannot find symbol [javac] List<Tuple> out = IteratorUtils.toList(result); [javac] ^ [javac] symbol: variable IteratorUtils [javac] location: class TestHiveUDTF [javac] /Users/szita/shadow/CDH/pig/test/org/apache/pig/impl/builtin/TestHiveUDTF.java:110: error: cannot find symbol [javac] List<Tuple> out = IteratorUtils.toList(result); [javac] ^ [javac] symbol: variable IteratorUtils [javac] location: class TestHiveUDTF [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 errors [javac] 1 warning BUILD FAILED