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

Build broken when hadoopversion=20 in branch 0.16

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.16.1
    • Fix Version/s: 0.17.0, 0.16.1
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      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
      

        Attachments

        1. PIG-5074.patch
          2 kB
          Ádám Szita

          Activity

            People

            • Assignee:
              szita Ádám Szita
              Reporter:
              szita Ádám Szita
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: