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

Make Pig compiles with avro-1.7.7

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.13.0
    • Fix Version/s: site
    • Component/s: build
    • Labels:
      None

      Description

      pig-0.13 compile failed with avro-1.7.7:
      [javac] /root/ff/git/pig/src/org/apache/pig/impl/util/avro/AvroRecordWriter.java:23: error: cannot find symbol
      [javac] import static org.apache.avro.mapred.AvroOutputFormat.DEFAULT_DEFLATE_LEVEL;
      [javac] ^
      [javac] symbol: static DEFAULT_DEFLATE_LEVEL
      [javac] location: class
      [javac] where T is a type-variable:
      [javac] T extends Object declared in class AvroOutputFormat
      [javac] /root/ff/git/pig/src/org/apache/pig/impl/util/avro/AvroRecordWriter.java:76: error: cannot find symbol
      [javac] DEFAULT_DEFLATE_LEVEL);
      [javac] ^
      [javac] symbol: variable DEFAULT_DEFLATE_LEVEL
      [javac] location: class AvroRecordWriter

        Attachments

        1. PIG-4111.patch
          1 kB
          fang fang chen
        2. PIG-4111-1.patch
          2 kB
          fang fang chen

          Activity

            People

            • Assignee:
              fang fang chen fang fang chen
              Reporter:
              fang fang chen fang fang chen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: