[
https://issues.apache.org/jira/browse/PIG-4142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14114741#comment-14114741
]
liyunzhang commented on PIG-4142:
---------------------------------
Hi [~daijy ]:
Use https://github.com/apache/tez/archive/release-0.5.0-rc1.tar.gz to test,
still fail
reproduce bugs in following ways:
1. remove cache of maven and ivy: rm -rf ~/.m2/repository/org/apache/tez/; rm
-rf ~/.ivy2/cache/org.apache.tez/
2. download code from
https://github.com/apache/tez/archive/release-0.5.0-rc1.tar.gz
3. build tez-0.5.0-rc1 by this command: mvn clean install -DskipTests
4. build pig by "ant compile -Dhadoopversion=23"
error throw:
compile:
[echo] *** Building Main 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 76 source files to /home/zly/prj/oss/pig/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.5
[javac]
/home/zly/prj/oss/pig/src/org/apache/pig/backend/hadoop/executionengine/tez/TezEdgeDescriptor.java:25:
error: cannot find symbol
[javac] import org.apache.tez.runtime.library.input.ShuffledMergedInput;
[javac] ^
[javac] symbol: class ShuffledMergedInput
[javac] location: package org.apache.tez.runtime.library.input
[javac]
/home/zly/prj/oss/pig/src/org/apache/pig/backend/hadoop/executionengine/tez/TezEdgeDescriptor.java:26:
error: cannot find symbol
[javac] import org.apache.tez.runtime.library.output.OnFileSortedOutput;
[javac] ^
[javac] symbol: class OnFileSortedOutput
[javac] location: package org.apache.tez.runtime.library.output
[javac]
/home/zly/prj/oss/pig/src/org/apache/pig/backend/hadoop/executionengine/tez/ObjectCache.java:23:
error: cannot find symbol
[javac] import org.apache.tez.runtime.common.objectregistry.ObjectRegistry;
[javac] ^
I check that there is no ShuffledMergedInput.java in
https://github.com/apache/tez/archive/release-0.5.0-rc1.tar.gz.
> Tez breaks hadoop 2 compilation because of import error
> -------------------------------------------------------
>
> Key: PIG-4142
> URL: https://issues.apache.org/jira/browse/PIG-4142
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.14.0
> Reporter: liyunzhang
>
> use tez 0.5.0 release source
> code(https://github.com/apache/tez/releases/tag/release-0.5.0-rc0) to build
> tez:
> mvn clean install -DskipTests
> after i compiled successfully tez 0.5.0, using following command to build pig
> trunk code:
> ant -Dhadoopversion=23 jar
> compile:
> [echo] *** Building Main 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 458 source files to /home/zly/prj/oss/pig/build/classes
> [javac] warning: [options] bootstrap class path not set in conjunction
> with -source 1.5
> [javac]
> /home/zly/prj/oss/pig/src/org/apache/pig/backend/hadoop/executionengine/tez/TezEdgeDescriptor.java:25:
> error: cannot find symbol
> [javac] import org.apache.tez.runtime.library.input.ShuffledMergedInput;
> [javac] ^
> [javac] symbol: class ShuffledMergedInput
> [javac] location: package org.apache.tez.runtime.library.input
> [javac]
> /home/zly/prj/oss/pig/src/org/apache/pig/backend/hadoop/executionengine/tez/TezEdgeDescriptor.java:26:
> error: cannot find symbol
> [javac] import org.apache.tez.runtime.library.output.OnFileSortedOutput;
> [javac] ^
> [javac] symbol: class OnFileSortedOutput
> [javac] location: package org.apache.tez.runtime.library.output
> [javac]
> /home/zly/prj/oss/pig/src/org/apache/pig/backend/hadoop/executionengine/tez/ObjectCache.java:23:
> error: cannot find symbol
> [javac] import
> org.apache.tez.runtime.common.objectregistry.ObjectRegistry;
> [javac] ^
> [javac] symbol: class ObjectRegistry
> [javac] location: package org.apache.tez.runtime.common.objectregistry
> [javac]
> /home/zly/prj/oss/pig/src/org/apache/pig/backend/hadoop/executionengine/tez/ObjectCache.java:30:
> error: cannot find symbol
> I found that there is no ShuffledMergedInput.java in tez-0.5.0 release.
--
This message was sent by Atlassian JIRA
(v6.2#6252)