Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4142

Tez breaks hadoop 2 compilation because of import error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 0.14.0
    • None
    • impl
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kellyzly liyunzhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: