liyunzhang created PIG-4142: ------------------------------- Summary: 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)