Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-2353

Building Sqoop-1.4.5 with Avro-1.7.7 gives compilation error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.4.5
    • Component/s: build
    • Labels:
      None

      Description

      [javac] /root/workdir/sqoop/src/java/org/apache/sqoop/mapreduce/AvroOutputFormat.java:39: 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/workdir/sqoop/src/java/org/apache/sqoop/mapreduce/AvroOutputFormat.java:57: error: cannot find symbol
      [javac] .getInt(DEFLATE_LEVEL_KEY, DEFAULT_DEFLATE_LEVEL);
      [javac] ^
      [javac] symbol: variable DEFAULT_DEFLATE_LEVEL
      [javac] location: class AvroOutputFormat<T>
      [javac] where T is a type-variable:
      [javac] T extends Object declared in class AvroOutputFormat
      [javac] Note: Some input files use or override a deprecated API.

        Attachments

        1. SQOOP-2353.patch
          1 kB
          Gaurav Pande

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              GauravPande Gaurav Pande
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: