You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Adam Szita (JIRA)" <ji...@apache.org> on 2016/12/08 10:51:58 UTC
[jira] [Updated] (PIG-5074) Build broken when hadoopversion=20 in
branch 0.16
[ https://issues.apache.org/jira/browse/PIG-5074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Szita updated PIG-5074:
----------------------------
Description:
Came across this issue:
{code}
ant -Dhadoopversion=20 jar pigunit-jar
{code}
{code}
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
{code}
> Build broken when hadoopversion=20 in branch 0.16
> -------------------------------------------------
>
> Key: PIG-5074
> URL: https://issues.apache.org/jira/browse/PIG-5074
> Project: Pig
> Issue Type: Bug
> Components: build
> Affects Versions: 0.16.1
> Reporter: Adam Szita
> Assignee: Adam Szita
> Fix For: 0.16.1
>
>
> Came across this issue:
> {code}
> ant -Dhadoopversion=20 jar pigunit-jar
> {code}
> {code}
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)