Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2410 Piggybank does not compile in 23
  3. PIG-2501

Changes needed to contrib/piggybank/java/build.xml in order to build piggybank.jar with Hadoop 0.23

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11
    • 0.11
    • piggybank
    • None
    • Patch Available
    • Reviewed
    • adds new {{<property>}} and {{<pathelement>}} elements to contrib/piggybank/java/build.xml.

    Description

      I am interested in building pig with Hadoop 0.23, so I added the following top-level build.properties file:

      hadoopversion=23
      

      I found that, with this environment ant clean piggybank does not succeed, despite the presence of PIG-2410. I get the following errors (other errors beyond first removed for brevity):

      compile:
           [echo]  *** Compiling Pig UDFs ***
          [javac] /home/eugene/pig/contrib/piggybank/java/build.xml:90: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
          [javac] Compiling 159 source files to /home/eugene/pig/contrib/piggybank/java/build/classes
          [javac] /home/eugene/pig/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/evaluation/ExtremalTupleByNthField.java:23: cannot find symbol
          [javac] symbol  : class Accumulator
          [javac] location: package org.apache.pig
          [javac] import org.apache.pig.Accumulator;
          [javac]                      ^
      

      Attachments

        1. PIG-2501.patch
          0.8 kB
          Eugene Joseph Koontz

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ekoontz Eugene Joseph Koontz
            ekoontz Eugene Joseph Koontz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment